Merge branch 'er/fast-import-dump-refs-on-checkpoint'
[gitweb.git] / fast-import.c
index 35bf671f12c41ce5a2a9f9224babee792bf71209..d5e4cf0bad411dad859dbe421ab7583cfb0f1561 100644 (file)
@@ -3189,10 +3189,10 @@ static void checkpoint(void)
        checkpoint_requested = 0;
        if (object_count) {
                cycle_packfile();
-               dump_branches();
-               dump_tags();
-               dump_marks();
        }
+       dump_branches();
+       dump_tags();
+       dump_marks();
 }
 
 static void parse_checkpoint(void)