shallow: add repository argument to is_repository_shallow
[gitweb.git] / commit.c
index c832133f055e9d846cd3f6539785d8306ae1b671..684eeaa2ccd65407a5371a63aef4de842919059c 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -208,7 +208,7 @@ static void prepare_commit_graft_the_repository(void)
        graft_file = get_graft_file();
        read_graft_file(the_repository, graft_file);
        /* make sure shallows are read */
-       is_repository_shallow();
+       is_repository_shallow(the_repository);
        commit_graft_prepared = 1;
 }