summaryrefslogtreecommitdiff
path: root/builtin-fast-export.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-11 18:32:37 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-11 18:32:37 -0800
commit7a134dbbc9ca7013c09b610351c5ce45dc10cda5 (patch)
tree911f77ae0affc4845c8a3fe5dc346b9f764e1bbe /builtin-fast-export.c
parent268c015495038be387ad3c5d674851889c497716 (diff)
parent3e6b1d0abcd58f0b2b106212ce0a0e07a6de342f (diff)
downloadgit-7a134dbbc9ca7013c09b610351c5ce45dc10cda5.tar.gz
Merge branch 'maint-1.6.0' into maint
* maint-1.6.0: Make repack less likely to corrupt repository fast-export: ensure we traverse commits in topological order Clear the delta base cache if a pack is rebuilt
Diffstat (limited to 'builtin-fast-export.c')
-rw-r--r--builtin-fast-export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-fast-export.c b/builtin-fast-export.c
index e9ee2c79ac..fdf4ae9ebd 100644
--- a/builtin-fast-export.c
+++ b/builtin-fast-export.c
@@ -514,6 +514,7 @@ int cmd_fast_export(int argc, const char **argv, const char *prefix)
get_tags_and_duplicates(&revs.pending, &extra_refs);
+ revs.topo_order = 1;
if (prepare_revision_walk(&revs))
die("revision walk setup failed");
revs.diffopt.format_callback = show_filemodify;