@matheusbsbs / matheus-bagliano / commits / 32164131db
Fork 0

fast-export: Do parent rewriting to avoid dropping relevant commits

When specifying paths to export, parent rewriting must be turned on for fast-export to output anything at all. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Jun 25, 2009 at 22:48 UTC 32164131db0984544b222ac515f95f917fa01441
1 file changed +1
builtin-fast-export.c
+1
@@ -531,6 +531,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
531 init_revisions(&revs, prefix);
532 revs.topo_order = 1;
533 revs.show_source = 1;
534 + revs.rewrite_parents = 1;
535 argc = setup_revisions(argc, argv, &revs, NULL);
536 argc = parse_options(argc, argv, prefix, options, fast_export_usage, 0);
537 if (argc > 1)