rerere.c: remove implicit dependency on the_index
[gitweb.git] / revision.c
index 0c6dc8c163fe2e21040b08b5762fc9409b4fb969..d70587678c278b93ed304f3e8cc5a052d7f5254a 100644 (file)
@@ -877,7 +877,7 @@ static void cherry_pick_list(struct commit_list *list, struct rev_info *revs)
                return;
 
        left_first = left_count < right_count;
-       init_patch_ids(&ids);
+       init_patch_ids(the_repository, &ids);
        ids.diffopts.pathspec = revs->diffopt.pathspec;
 
        /* Compute patch-ids for one side */