summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-08 09:17:00 -0700
committerJunio C Hamano <gitster@pobox.com>2010-09-08 09:17:00 -0700
commit6b948a7a480b4ad5e112eb1642e9160e2a3b4f2b (patch)
treea67164e17aaba73228e2b2aeed996e36209a57a1 /git.c
parent9f44723d1a2c6a97306a7160deeab621e08bea7a (diff)
parent655e8d9c92121b1d84fda91b73c4a0daa638cbf8 (diff)
downloadgit-6b948a7a480b4ad5e112eb1642e9160e2a3b4f2b.tar.gz
Merge branch 'jk/maint-pass-c-config-in-env'
* jk/maint-pass-c-config-in-env: do not pass "git -c foo=bar" params to transport helpers pass "git -c foo=bar" params through environment
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 8de48107e0..d64ab1a24d 100644
--- a/git.c
+++ b/git.c
@@ -137,7 +137,7 @@ static int handle_options(const char ***argv, int *argc, int *envchanged)
fprintf(stderr, "-c expects a configuration string\n" );
usage(git_usage_string);
}
- git_config_parse_parameter((*argv)[1]);
+ git_config_push_parameter((*argv)[1]);
(*argv)++;
(*argc)--;
} else {