summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e449f10)
raw | patch | inline | side by side (parent: e449f10)
author | しらいしななこ <nanako3@lavabit.com> | |
Wed, 18 Jun 2008 23:21:09 +0000 (08:21 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Jun 2008 00:07:22 +0000 (17:07 -0700) |
get_refs_directory() is not used anywhere.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | patch | blob | history | |
environment.c | patch | blob | history |
index 81b7e17de26ae33249c60b101f5718cb5c5e5699..feb49b788fae1f90496de28fa8d0db6dfa0ff853 100644 (file)
--- a/cache.h
+++ b/cache.h
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 73feb2d03a917d1fbdc8d9397b42fd90e5916bca..187248bf5d027c8d860ccbf839bc6296d0a42436 100644 (file)
--- a/environment.c
+++ b/environment.c
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)