]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
[PATCH] Provide access to git_dir through get_git_dir().
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index 6f3d39da73a2340857474fe57482897cea7ceee8..52a45f9c9a3f487ca7ba773d72109c3daca0685d 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -136,6 +136,7 @@ extern unsigned int active_nr, active_alloc, active_cache_changed;
 #define INDEX_ENVIRONMENT "GIT_INDEX_FILE"
 #define GRAFT_ENVIRONMENT "GIT_GRAFT_FILE"
 
+extern char *get_git_dir(void);
 extern char *get_object_directory(void);
 extern char *get_refs_directory(void);
 extern char *get_index_file(void);