Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git config: clarify --add and --get-color
author
Felipe Contreras
<felipe.contreras@gmail.com>
Wed, 6 May 2009 22:57:08 +0000
(
01:57
+0300)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 9 May 2009 07:19:25 +0000
(
00:19
-0700)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3e1629f
)
diff --git
a/Documentation/git-config.txt
b/Documentation/git-config.txt
index 7131ee3c66951de5981a82e304f4619de88064c5..f68b198205d3a4d808ce58e6b0ac03e70bb160a4 100644
(file)
--- 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
--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
--get::
Get the value for a given key (optionally filtered by a regex
@@
-155,7
+156,7
@@
See also <<FILES>>.
When the color setting for `name` is undefined, the command uses
`color.ui` as fallback.
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
Find the color configured for `name` (e.g. `color.diff.new`) and
output it as the ANSI color escape sequence to the standard