From 5da1606d0bf5b970fadfa0ca91618a1e871f6755 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 26 Sep 2005 22:54:01 +0200 Subject: [PATCH] Provide access to git_dir through get_git_dir(). Signed-off-by: Sven Verdoolaege Signed-off-by: Junio C Hamano --- cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 6f3d39da73..52a45f9c9a 100644 --- 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); -- cgit v1.3