From: Felipe Contreras Date: Wed, 6 May 2009 22:57:08 +0000 (+0300) Subject: git config: clarify --add and --get-color X-Git-Tag: v1.6.3.1~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac9f71cf766ab1affdfc4d4c4b58238bf9c76700;p=git.git git config: clarify --add and --get-color Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt index 7131ee3c6..f68b19820 100644 --- a/Documentation/git-config.txt +++ b/Documentation/git-config.txt @@ -69,7 +69,8 @@ OPTIONS --add:: Adds a new line to the option without altering any existing - values. This is the same as providing '^$' as the value_regex. + values. This is the same as providing '^$' as the value_regex + in `--replace-all`. --get:: Get the value for a given key (optionally filtered by a regex @@ -155,7 +156,7 @@ See also <>. When the color setting for `name` is undefined, the command uses `color.ui` as fallback. ---get-color name default:: +--get-color name [default]:: Find the color configured for `name` (e.g. `color.diff.new`) and output it as the ANSI color escape sequence to the standard