X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fgit-repo-config.txt;h=660c18ff8d6074ad8e93e5eca0805f157dd2e592;hb=a62be77f5ebdbbd46d6956dc4d07571835588389;hp=fd44f629f5febb49a647578adb7804cd34b3afd6;hpb=50c08d48722149d95f46bcc80a5211ea04b8a809;p=git.git diff --git a/Documentation/git-repo-config.txt b/Documentation/git-repo-config.txt index fd44f629..660c18ff 100644 --- a/Documentation/git-repo-config.txt +++ b/Documentation/git-repo-config.txt @@ -23,10 +23,11 @@ You can query/set/replace/unset options with this command. The name is actually the section and the key separated by a dot, and the value will be escaped. -If you want to set/unset an option which can occur on multiple lines, you -should provide a POSIX regex for the value. If you want to handle the lines -*not* matching the regex, just prepend a single exclamation mark in front -(see EXAMPLES). +If you want to set/unset an option which can occur on multiple +lines, a POSIX regexp `value_regex` needs to be given. Only the +existing values that match the regexp are updated or unset. If +you want to handle the lines that do *not* match the regex, just +prepend a single exclamation mark in front (see EXAMPLES). The type specifier can be either '--int' or '--bool', which will make 'git-repo-config' ensure that the variable(s) are of the given type and