git config: clarify --add and --get-color
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 7, 2009 at 01:57 UTC
ac9f71cf766ab1affdfc4d4c4b58238bf9c76700
1 file changed
+3
-2
Documentation/git-config.txt
+3
-2
@@ -69,7 +69,8 @@ OPTIONS
69
70
--add::
71
Adds a new line to the option without altering any existing
72
- values. This is the same as providing '^$' as the value_regex.
72
+ values. This is the same as providing '^$' as the value_regex
73
+ in `--replace-all`.
74
75
--get::
76
Get the value for a given key (optionally filtered by a regex
@@ -155,7 +156,7 @@ See also <<FILES>>.
156
When the color setting for `name` is undefined, the command uses
157
`color.ui` as fallback.
158
158
---get-color name default::
159
+--get-color name [default]::
160
161
Find the color configured for `name` (e.g. `color.diff.new`) and
162
output it as the ANSI color escape sequence to the standard