Code

repo-config: support --get-regexp
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 2 May 2006 12:22:48 +0000 (14:22 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 May 2006 03:09:54 +0000 (20:09 -0700)
commit2fa9a0fb31cbf01e8318a02c3e222d7fd3fd0a83
tree6996841b59cc0884878a36ce310765e9252cbae0
parent3d990f110c2e5b8df83f6ab3ef83497f43c7fd47
repo-config: support --get-regexp

With --get-regexp, output all key/value pairs where the key matches a
regexp. Example:

git-repo-config --get-regexp remote.*.url

will output something like

remote.junio.url git://git.kernel.org/pub/scm/git/git.git
remote.gitk.url git://git.kernel.org/pub/scm/gitk/gitk.git

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-repo-config.txt
repo-config.c
t/t1300-repo-config.sh