commit | e0eb889f8e6597120527b0312874ff4c8448108e | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Mon May 01 12:27:56 2006 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Mon May 01 12:31:04 2006 -0700 |
tree | ec65c7e4482ccc14461aab3231bbe6c046fd5907 | |
parent | 5010cb5fcca30269ad25f2eb38b31455af3205d7 [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>