Re: [PATCH 0/3] fast-export: allow dumping anonymization mappings

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

 



Hi Peff,

On Fri, 19 Jun 2020, Jeff King wrote:

> The "master" branch is special in fast-export in that we don't anonymize
> it.  And the reason is that it helps to have some known reference point
> between the original and anonymized repo, so you can find the same
> commits.
>
> This series gives an alternate way to achieve the same effect, but much
> better in that it works for _any_ ref (so if you are trying to reproduce
> the effect of "rev-list origin/foo..bar" in the anonymized repo, you can
> easily do so). Ditto for paths, so that "rev-list -- foo.c" can be
> reproduced in the anonymized repo.
>
> And then we can drop the specialness of "master", which in turn is one
> less thing to worry about in Dscho's series to make the default branch
> configurable.

Thank you for working on this!

I don't have any suggestions on top of Eric's and Junio's.

I'll drop the `fast-export` patches from the next round of my patch
series.

Ciao,
Dscho

>
>   [1/3]: fast-export: allow dumping the refname mapping
>   [2/3]: fast-export: anonymize "master" refname
>   [3/3]: fast-export: allow dumping the path mapping
>
>  Documentation/git-fast-export.txt | 32 +++++++++++++++++
>  builtin/fast-export.c             | 58 +++++++++++++++++++++++++++----
>  t/t9351-fast-export-anonymize.sh  | 30 ++++++++++++----
>  3 files changed, 106 insertions(+), 14 deletions(-)
>
> -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