diff options
author | Elijah Newren <newren@gmail.com> | 2009-06-25 22:48:30 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-27 14:10:10 -0700 |
commit | 32164131db0984544b222ac515f95f917fa01441 (patch) | |
tree | 84e66fee8f3485772baca50ab92120181b20d8a5 /builtin-fast-export.c | |
parent | 2374502c6ca1c8007cb35682f13fb5db044df9ea (diff) | |
download | git-32164131db0984544b222ac515f95f917fa01441.tar.gz |
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>
Diffstat (limited to 'builtin-fast-export.c')
-rw-r--r-- | builtin-fast-export.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-fast-export.c b/builtin-fast-export.c index 43a7e17d3e..9b8bd37290 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) |