summaryrefslogtreecommitdiff
path: root/environment.c
diff options
context:
space:
mode:
authorしらいしななこ <nanako3@lavabit.com>2008-06-19 08:21:09 +0900
committerJunio C Hamano <gitster@pobox.com>2008-06-19 17:07:22 -0700
commit78d0f5d210bc053d961185be6cfb0e248a0bdda3 (patch)
tree6c10cd10d2ad7a17db83fe5d49dbb52a3e19b051 /environment.c
parente449f105805ffa49ccf7cf080db897ecf65a1a0f (diff)
downloadgit-78d0f5d210bc053d961185be6cfb0e248a0bdda3.tar.gz
environment.c: remove unused function
get_refs_directory() is not used anywhere. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.c')
-rw-r--r--environment.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/environment.c b/environment.c
index 73feb2d03a..187248bf5d 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)