From: Elijah Newren Date: Fri, 26 Jun 2009 04:48:30 +0000 (-0600) Subject: fast-export: Do parent rewriting to avoid dropping relevant commits X-Git-Tag: v1.6.4~7^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32164131db0984544b222ac515f95f917fa01441;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 43a7e17d3..9b8bd3729 100644 --- a/builtin-fast-export.c +++ b/builtin-fast-export.c @@ -531,6 +531,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix) init_revisions(&revs, prefix); revs.topo_order = 1; revs.show_source = 1; + revs.rewrite_parents = 1; argc = setup_revisions(argc, argv, &revs, NULL); argc = parse_options(argc, argv, prefix, options, fast_export_usage, 0); if (argc > 1)