prune: keep objects reachable from recent objects
[gitweb.git] / builtin / reflog.c
index e8a8fb13b9ffc8d3276048131e33e9874bc3bdea..80bddc259b7237c1c2e337a59a48573be4ee6d08 100644 (file)
@@ -649,7 +649,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
                init_revisions(&cb.revs, prefix);
                if (cb.verbose)
                        printf("Marking reachable objects...");
-               mark_reachable_objects(&cb.revs, 0, NULL);
+               mark_reachable_objects(&cb.revs, 0, 0, NULL);
                if (cb.verbose)
                        putchar('\n');
        }