Re: [PATCH v2 01/12] fast-export: do anonymize the primary branch name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 17, 2020 at 07:06:26PM -0700, Elijah Newren wrote:

> > That leaves us in the interim with a "fast-export --anonymize" that is a
> > little harder to use (you have no way to know which branch was which).
> 
> Why does fast-export special case on "master" rather than on HEAD?
> Isn't it more relevant to know the active branch than what _might_
> have been the initial branch?  It kind of feels like a bug to me that
> HEAD isn't the special case construct.

I don't really remember my exact thought at the time, but it was
probably along the lines of: "master" is special not because it's
inherently special, but because revealing it doesn't compromise the
anonymity, since it's not a user-selected name.

That's not true of other names we might see in HEAD. But if we're
turning it into "ref0" or some other special name anyway, then we
haven't revealed anything.

That said, I still lean towards just being able to dump the whole
mapping by request. That solves this problem and many more.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux