summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8695353)
raw | patch | inline | side by side (parent: 8695353)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 2 Oct 2010 08:35:29 +0000 (03:35 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Oct 2010 23:50:54 +0000 (16:50 -0700) |
After v1.6.0-rc0~230^2^ (environment.c: remove unused function,
2008-06-19), git_refs_dir is not used any more.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-06-19), git_refs_dir is not used any more.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
environment.c | patch | blob | history |
diff --git a/environment.c b/environment.c
index 2d0c3153791d7cceffb12f50dd5a7716b8c0a8c0..c44a30be3e4baf5794dcbadfdd6c6a694c2f6851 100644 (file)
--- a/environment.c
+++ b/environment.c
static char *work_tree;
static const char *git_dir;
-static char *git_object_dir, *git_index_file, *git_refs_dir, *git_graft_file;
+static char *git_object_dir, *git_index_file, *git_graft_file;
/*
* Repository-local GIT_* environment variables
git_object_dir = xmalloc(strlen(git_dir) + 9);
sprintf(git_object_dir, "%s/objects", git_dir);
}
- git_refs_dir = xmalloc(strlen(git_dir) + 6);
- sprintf(git_refs_dir, "%s/refs", git_dir);
git_index_file = getenv(INDEX_ENVIRONMENT);
if (!git_index_file) {
git_index_file = xmalloc(strlen(git_dir) + 7);