Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2009-05-07 02:57:08 +0400
committerJunio C Hamano <gitster@pobox.com>2009-05-09 11:19:25 +0400
commitac9f71cf766ab1affdfc4d4c4b58238bf9c76700 (patch)
treedc51f421c84727ead5cc517e6db29b6c39c70ab9
parent3e1629f5a6c832941cc329c381de8b88ea775cb6 (diff)
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>
-rw-r--r--Documentation/git-config.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 7131ee3c66..f68b198205 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 <<FILES>>.
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