mirror of
https://github.com/git/git.git
synced 2026-03-19 21:20:05 +01:00
Merge branch 'jk/maint-pass-c-config-in-env' into next
* 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
This commit is contained in:
2
git.c
2
git.c
@@ -134,7 +134,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 {
|
||||
|
||||
Reference in New Issue
Block a user