author | Junio C Hamano <junkio@cox.net> | |
Fri, 11 Aug 2006 07:44:42 +0000 (00:44 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 12 Aug 2006 02:08:10 +0000 (19:08 -0700) | ||
commit | 0d042fecf2f4130717d198f9cc2d792e72370bda | |
tree | 45f19a371877c20fcae9166795e17143863a0982 | tree | snapshot |
parent | c8769f76d992ed391d169cd71be009ca17727271 | commit | diff |
git-grep: show pathnames relative to the current directory
By default, the command shows pathnames relative to the current
directory. Use --full-name (the same flag to do so in ls-files)
if you want to see the full pathname relative to the project root.
This makes it very pleasant to run in Emacs compilation (or
"grep-find") buffer.
Signed-off-by: Junio C Hamano <junkio@cox.net>
By default, the command shows pathnames relative to the current
directory. Use --full-name (the same flag to do so in ls-files)
if you want to see the full pathname relative to the project root.
This makes it very pleasant to run in Emacs compilation (or
"grep-find") buffer.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-grep.txt | diff | blob | history | |
builtin-grep.c | diff | blob | history | |
t/t7002-grep.sh | diff | blob | history |