about summary refs log tree commit diff
path: root/third_party/git/reachable.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/reachable.c')
-rw-r--r--third_party/git/reachable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/reachable.c b/third_party/git/reachable.c
index 77a60c70a5db..8f50235b28ed 100644
--- a/third_party/git/reachable.c
+++ b/third_party/git/reachable.c
@@ -223,9 +223,9 @@ void mark_reachable_objects(struct rev_info *revs, int mark_reflog,
 	cp.progress = progress;
 	cp.count = 0;
 
-	bitmap_git = prepare_bitmap_walk(revs, NULL);
+	bitmap_git = prepare_bitmap_walk(revs);
 	if (bitmap_git) {
-		traverse_bitmap_commit_list(bitmap_git, revs, mark_object_seen);
+		traverse_bitmap_commit_list(bitmap_git, mark_object_seen);
 		free_bitmap_index(bitmap_git);
 		return;
 	}