summaryrefslogtreecommitdiff
path: root/repo-config.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-06-20 02:39:48 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-20 02:39:48 -0700
commit9e37f72afe49c133bfc54b17b659b2ae6f189b7f (patch)
tree98aa954b22b9a24563da7e187fe034ef73831601 /repo-config.c
parentMerge branch 'jc/waitpid' into next (diff)
parentgit_config: access() returns 0 on success, not > 0 (diff)
downloadtgif-9e37f72afe49c133bfc54b17b659b2ae6f189b7f.tar.xz
Merge branch 'pb/config' into next
Diffstat (limited to 'repo-config.c')
-rw-r--r--repo-config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/repo-config.c b/repo-config.c
index 03f108fe2f..ab8f1afeea 100644
--- a/repo-config.c
+++ b/repo-config.c
@@ -74,8 +74,6 @@ static int get_value(const char* key_, const char* regex_)
const char *home = getenv("HOME");
local = getenv("GIT_CONFIG_LOCAL");
if (!local)
- local = repo_config;
- else
local = repo_config = strdup(git_path("config"));
if (home)
global = strdup(mkpath("%s/.gitconfig", home));