Re: [PATCH v2] teach fast-export an --anonymize option

2014-08-27 Thread Jeff King
On Wed, Aug 27, 2014 at 09:01:02AM -0700, Junio C Hamano wrote: > > +# this also covers commit messages > > +test_expect_success 'stream omits path names' ' > > + ! fgrep base stream && > > + ! fgrep foo stream && > > + ! fgrep subdir stream && > > + ! fgrep bar stream && > > + ! fgrep x

Re: [PATCH v2] teach fast-export an --anonymize option

2014-08-27 Thread Junio C Hamano
Jeff King writes: > diff --git a/t/t9351-fast-export-anonymize.sh > b/t/t9351-fast-export-anonymize.sh > new file mode 100755 > index 000..f76ffe4 > --- /dev/null > +++ b/t/t9351-fast-export-anonymize.sh > @@ -0,0 +1,117 @@ > +#!/bin/sh > + > +test_description='basic tests for fast-export --

Re: [PATCH v2] teach fast-export an --anonymize option

2014-08-22 Thread Jeff King
On Fri, Aug 22, 2014 at 07:39:59PM +0100, Philip Oakley wrote: > Just a bit of bikeshedding for future improvements.. > > The .gitignore is another potential user problem area that may benefit form > not being anonymised when problems strike. Thanks, I had meant to mention some implications for

Re: [PATCH v2] teach fast-export an --anonymize option

2014-08-22 Thread Philip Oakley
From: "Jeff King" : Friday, August 22, 2014 12:21 AM On Thu, Aug 21, 2014 at 06:49:10PM -0400, Jeff King wrote: The few things I don't anonymize are: 1. ref prefixes. We see the same distribution of refs/heads vs refs/tags, etc. 2. refs/heads/master is left untouched, for convenience

Re: [PATCH v2] teach fast-export an --anonymize option

2014-08-22 Thread Duy Nguyen
On Fri, Aug 22, 2014 at 6:21 AM, Jeff King wrote: > -- >8 -- > Subject: teach fast-export an --anonymize option > > Sometimes users want to report a bug they experience on > their repository, but they are not at liberty to share the > contents of the repository. It would be useful if they could >

[PATCH v2] teach fast-export an --anonymize option

2014-08-21 Thread Jeff King
On Thu, Aug 21, 2014 at 06:49:10PM -0400, Jeff King wrote: > The few things I don't anonymize are: > > 1. ref prefixes. We see the same distribution of refs/heads vs > refs/tags, etc. > > 2. refs/heads/master is left untouched, for convenience (and because > it's not really a secre