]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
Introduce is_bare_repository() and core.bare configuration variable
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 36be64e3868456b11bc9a6024be5e955074241b2..cff25690f1861fd947b036e17cbefea783a7fbfc 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -127,7 +127,8 @@ extern int cache_errno;
 #define CONFIG_LOCAL_ENVIRONMENT "GIT_CONFIG_LOCAL"
 #define EXEC_PATH_ENVIRONMENT "GIT_EXEC_PATH"
 
-extern int is_bare_git_dir(const char *dir);
+extern int is_bare_repository_cfg;
+extern int is_bare_repository(void);
 extern const char *get_git_dir(void);
 extern char *get_object_directory(void);
 extern char *get_refs_directory(void);