]> git.ipfire.org Git - thirdparty/git.git/blobdiff - path.c
Merge branch 'bc/sha-256-part-1-of-4'
[thirdparty/git.git] / path.c
diff --git a/path.c b/path.c
index 0a42ceb3fb54d31e1830f73b67da078d4b625645..9bd717c3073f4f4af8d69a14f18ec94f06079c6e 100644 (file)
--- a/path.c
+++ b/path.c
@@ -851,7 +851,7 @@ const char *enter_repo(const char *path, int strict)
 
        if (is_git_directory(".")) {
                set_git_dir(".", 0);
-               check_repository_format();
+               check_repository_format(NULL);
                return path;
        }