From: しらいしななこ Date: Wed, 18 Jun 2008 23:21:09 +0000 (+0900) Subject: environment.c: remove unused function X-Git-Tag: v1.6.0-rc0~230^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78d0f5d210bc053d961185be6cfb0e248a0bdda3;p=git.git environment.c: remove unused function get_refs_directory() is not used anywhere. Signed-off-by: Nanako Shiraishi Signed-off-by: Junio C Hamano --- diff --git a/cache.h b/cache.h index 81b7e17de..feb49b788 100644 --- a/cache.h +++ b/cache.h @@ -311,7 +311,6 @@ extern char *git_work_tree_cfg; extern int is_inside_work_tree(void); extern const char *get_git_dir(void); extern char *get_object_directory(void); -extern char *get_refs_directory(void); extern char *get_index_file(void); extern char *get_graft_file(void); extern int set_git_dir(const char *path); diff --git a/environment.c b/environment.c index 73feb2d03..187248bf5 100644 --- a/environment.c +++ b/environment.c @@ -129,13 +129,6 @@ char *get_object_directory(void) return git_object_dir; } -char *get_refs_directory(void) -{ - if (!git_refs_dir) - setup_git_env(); - return git_refs_dir; -} - char *get_index_file(void) { if (!git_index_file)