On Fri, Jun 19, 2020 at 9:29 AM Jeff King <peff@xxxxxxxx> wrote: > [...] > We recently taught fast-export to dump the refname mapping. Let's do the > same thing for paths, which can reuse most of the same infrastructure. > Note that the output format isn't unambiguous here (because paths could > contain spaces). That's OK because this is meant to be examined by a > human. > [...] > Signed-off-by: Jeff King <peff@xxxxxxxx> > --- > diff --git a/builtin/fast-export.c b/builtin/fast-export.c > @@ -1244,6 +1254,8 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix) > if (anonymized_refnames_file) > anonymized_refnames_handle = xfopen(anonymized_refnames_file, "w"); > + if (anonymized_paths_file) > + anonymized_paths_handle = xfopen(anonymized_paths_file, "w"); Same question as in my patch 1/1 review: Do you want to close this file at some point?