summaryrefslogtreecommitdiff
path: root/fsck-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fsck-cache.c')
-rw-r--r--fsck-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck-cache.c b/fsck-cache.c
index 3fbcd2c7e9..a8050f84a9 100644
--- a/fsck-cache.c
+++ b/fsck-cache.c
@@ -186,7 +186,7 @@ int main(int argc, char **argv)
continue;
}
if (!get_sha1_hex(argv[i], head_sha1)) {
- mark_reachable(lookup_rev(head_sha1));
+ mark_reachable(lookup_rev(head_sha1), REACHABLE);
heads++;
continue;
}