vscode: let cSpell work on commit messages, too
[gitweb.git] / builtin / rev-parse.c
index 4f49e96bfd0166aeb6f9875a688ff0dd83d631b5..2a6cb298bdab7961a73df16c4984ff9eefef7795 100644 (file)
@@ -883,7 +883,8 @@ int cmd_rev_parse(int argc, const char **argv, const char *prefix)
                                continue;
                        }
                        if (!strcmp(arg, "--is-shallow-repository")) {
-                               printf("%s\n", is_repository_shallow() ? "true"
+                               printf("%s\n",
+                                               is_repository_shallow(the_repository) ? "true"
                                                : "false");
                                continue;
                        }