author | Junio C Hamano <junkio@cox.net> | |
Mon, 1 May 2006 19:27:56 +0000 (12:27 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 1 May 2006 19:31:04 +0000 (12:31 -0700) | ||
commit | e0eb889f8e6597120527b0312874ff4c8448108e | |
tree | ec65c7e4482ccc14461aab3231bbe6c046fd5907 | tree | snapshot |
parent | 5010cb5fcca30269ad25f2eb38b31455af3205d7 | commit | diff |
builtin-grep: wildcard pathspec fixes
This tweaks the pathspec wildcard used in builtin-grep to match
that of ls-files. With this:
git grep -e DEBUG -- '*/Kconfig*'
would work like the shell script version, and you could even do:
git grep -e DEBUG --cached -- '*/Kconfig*' ;# from index
git grep -e DEBUG v2.6.12 -- '*/Kconfig*' ;# from rev
Signed-off-by: Junio C Hamano <junkio@cox.net>
This tweaks the pathspec wildcard used in builtin-grep to match
that of ls-files. With this:
git grep -e DEBUG -- '*/Kconfig*'
would work like the shell script version, and you could even do:
git grep -e DEBUG --cached -- '*/Kconfig*' ;# from index
git grep -e DEBUG v2.6.12 -- '*/Kconfig*' ;# from rev
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-grep.c | diff | blob | history |