sha1-name.c: remove implicit dependency on the_index
[gitweb.git] / builtin / bisect--helper.c
index 4b5fadcbe1ae6a1b10fe88e80a5fcffd3296cfa7..417d141c09ad2698c17cf4738ad6ce7177456088 100644 (file)
@@ -137,7 +137,7 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
 
        switch (cmdmode) {
        case NEXT_ALL:
-               return bisect_next_all(prefix, no_checkout);
+               return bisect_next_all(the_repository, prefix, no_checkout);
        case WRITE_TERMS:
                if (argc != 2)
                        return error(_("--write-terms requires two arguments"));