git-grep: show pathnames relative to the current directory
authorJunio C Hamano <junkio@cox.net>
Fri, 11 Aug 2006 07:44:42 +0000 (00:44 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 12 Aug 2006 02:08:10 +0000 (19:08 -0700)
commit0d042fecf2f4130717d198f9cc2d792e72370bda
tree45f19a371877c20fcae9166795e17143863a0982
parentc8769f76d992ed391d169cd71be009ca17727271
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>
Documentation/git-grep.txt
builtin-grep.c
t/t7002-grep.sh