author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 2 May 2006 12:22:48 +0000 (14:22 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 May 2006 03:09:54 +0000 (20:09 -0700) | ||
commit | 2fa9a0fb31cbf01e8318a02c3e222d7fd3fd0a83 | |
tree | 6996841b59cc0884878a36ce310765e9252cbae0 | tree | snapshot |
parent | 3d990f110c2e5b8df83f6ab3ef83497f43c7fd47 | commit | diff |
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>
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 | diff | blob | history | |
repo-config.c | diff | blob | history | |
t/t1300-repo-config.sh | diff | blob | history |