repo-config: document what value_regexp does a bit more clearly.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
May 7, 2006 at 15:32 UTC
6fe31e2e4cdb7ed5333107174e23fbf2e226e370
1 file changed
+5
-4
Documentation/git-repo-config.txt
+5
-4
@@ -22,10 +22,11 @@ You can query/set/replace/unset options with this command. The name is
22
actually the section and the key separated by a dot, and the value will be
23
escaped.
24
25
-If you want to set/unset an option which can occur on multiple lines, you
26
-should provide a POSIX regex for the value. If you want to handle the lines
27
-*not* matching the regex, just prepend a single exclamation mark in front
28
-(see EXAMPLES).
25
+If you want to set/unset an option which can occur on multiple
26
+lines, a POSIX regexp `value_regex` needs to be given. Only the
27
+existing values that match the regexp are updated or unset. If
28
+you want to handle the lines that do *not* match the regex, just
29
+prepend a single exclamation mark in front (see EXAMPLES).
30
31
The type specifier can be either '--int' or '--bool', which will make
32
'git-repo-config' ensure that the variable(s) are of the given type and