diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2005-11-20 13:24:18 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-20 10:53:06 -0800 |
commit | f98d863d2122e1b8781dfb9889df98876a26f315 (patch) | |
tree | 3b688c9ff010bd74cde0027fe63f1d225a53b0ab /usage.c | |
parent | a6322d079b1d2e2cb72da1271171b35a173f3d22 (diff) | |
download | git-f98d863d2122e1b8781dfb9889df98876a26f315.tar.gz |
git-config-set: support selecting values by non-matching regex
Extend the regex syntax of value_regex so that prepending an exclamation
mark means non-match:
[core]
quetzal = "Dodo" for Brainf*ck
quetzal = "T. Rex" for Malbolge
quetzal = "cat"
You can match the third line with
git-config-set --get quetzal '! for '
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'usage.c')
0 files changed, 0 insertions, 0 deletions