diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:53:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-09-09 12:53:57 -0700 |
commit | 93424a0fd882a3ed1c1f7a8b6fe71fdaa21cce99 (patch) | |
tree | b20b3ed1d2c1ecad9d7bc09a6679ed24015dfe36 /Documentation/git.txt | |
parent | 713c6f3ab06fcda921262b718742cff7f208da9a (diff) | |
parent | a789ca70e7a5b02973b116d21674acd795238f99 (diff) | |
download | git-93424a0fd882a3ed1c1f7a8b6fe71fdaa21cce99.tar.gz git-93424a0fd882a3ed1c1f7a8b6fe71fdaa21cce99.tar.xz |
Merge branch 'jk/command-line-config-empty-string'
"git -c section.var command" and "git -c section.var= command"
should pass the configuration differently (the former should be
a boolean true, the latter should be an empty string).
* jk/command-line-config-empty-string:
config: teach "git -c" to recognize an empty string
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r-- | Documentation/git.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index de7b870a3..26de4dd54 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -452,6 +452,11 @@ example the following invocations are equivalent: given will override values from configuration files. The <name> is expected in the same format as listed by 'git config' (subkeys separated by dots). ++ +Note that omitting the `=` in `git -c foo.bar ...` is allowed and sets +`foo.bar` to the boolean true value (just like `[foo]bar` would in a +config file). Including the equals but with an empty value (like `git -c +foo.bar= ...`) sets `foo.bar` to the empty string. --exec-path[=<path>]:: Path to wherever your core Git programs are installed. |