Skip to content

Commit

Permalink
fast-export: Do parent rewriting to avoid dropping relevant commits
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Elijah Newren authored and Junio C Hamano committed Jun 27, 2009
1 parent 2374502 commit 3216413
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin-fast-export.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3216413

Please sign in to comment.