author | Mark Lodato <lodatom@gmail.com> | |
Tue, 16 Feb 2010 00:25:40 +0000 (19:25 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Feb 2010 07:00:35 +0000 (23:00 -0800) | ||
commit | 3ac4440801905d11de3ba585c2fe306311db6c45 | |
tree | 6689e2364b2d92171e187d2c51f2e136eaa4c1d8 | tree | snapshot |
parent | ef0065034a68edfc0ffed9965bb895073ad710db | commit | diff |
grep documentation: clarify what files match
Clarify that git-grep(1) searches only tracked files, and that each
<pathspec> is a pathspec, as in any other ordinary git commands.
Add an example to show a simple use case for searching all .c and .h
files in the current directory and below.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Clarify that git-grep(1) searches only tracked files, and that each
<pathspec> is a pathspec, as in any other ordinary git commands.
Add an example to show a simple use case for searching all .c and .h
files in the current directory and below.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt | diff | blob | history |