diff options
author | Mark Lodato <lodatom@gmail.com> | 2010-02-15 19:25:40 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-16 23:00:35 -0800 |
commit | 3ac4440801905d11de3ba585c2fe306311db6c45 (patch) | |
tree | 6689e2364b2d92171e187d2c51f2e136eaa4c1d8 /t/t7503-pre-commit-hook.sh | |
parent | fix minor memory leak in get_tree_entry() (diff) | |
download | tgif-3ac4440801905d11de3ba585c2fe306311db6c45.tar.xz |
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>
Diffstat (limited to 't/t7503-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions