config: add --literal-match option
commit1b59a710bd3e39046e13576149460011ce22c0d2
authorJeff King <peff@peff.net>
Wed, 12 Mar 2008 19:47:06 +0000 (12 15:47 -0400)
committerJeff King <peff@peff.net>
Thu, 13 Mar 2008 13:39:56 +0000 (13 09:39 -0400)
tree2ef8ed82ef3686d3eb7ffae8e628535d68dc4e0e
parenteccc8ed3518e3cb094343b752b2eab20225af42e
config: add --literal-match option

When limiting the values to be set (or returned), the user
previously had the option of specifying a regex. In some
cases, however, they may want to find a literal value. The
option --literal-match converts any matching regex into a
literal string comparison.
Documentation/git-config.txt
builtin-config.c
builtin-remote.c
cache.h
config.c
t/t1300-repo-config.sh