Allow passing of configuration parameters in the command line
The values passed this way will override whatever is defined
in the config files.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
@ -219,6 +220,12 @@ displayed. See linkgit:git-help[1] for more information,
@@ -219,6 +220,12 @@ displayed. See linkgit:git-help[1] for more information,
because `git --help ...` is converted internally into `git
help ...`.
-c <name>=<value>::
Pass a configuration parameter to the command. The value
given will override values from configuration files.
The <name> is expected in the same format as listed by
'git config' (subkeys separated by dots).
--exec-path::
Path to wherever your core git programs are installed.
This can also be controlled by setting the GIT_EXEC_PATH
@ -130,6 +131,14 @@ static int handle_options(const char ***argv, int *argc, int *envchanged)
@@ -130,6 +131,14 @@ static int handle_options(const char ***argv, int *argc, int *envchanged)