Revert "check_packed_git_idx(): check integrity of the idx file itself."
[git/mingw/4msysgit/wingit-dll.git] / Documentation / git-grep.txt
blob2bfd8edbc8e8e95a83b4ceca8b05faee3edcd9ad
1 git-grep(1)
2 ===========
4 NAME
5 ----
6 git-grep - print lines matching a pattern
9 SYNOPSIS
10 --------
11 'git-grep' [<option>...] <pattern> [<path>...]
13 DESCRIPTION
14 -----------
15 Searches list of files `git-ls-files` produces for lines
16 containing a match to the given pattern.
19 OPTIONS
20 -------
21 <option>...::
22         Either an option to pass to `grep` or `git-ls-files`.
23         Some `grep` options, such as `-C` and `-m`, that take
24         parameters are known to `git-grep`.
26 <pattern>::
27         The pattern to look for.
29 <path>...::
30         Optional paths to limit the set of files to be searched;
31         passed to `git-ls-files`.
34 Author
35 ------
36 Written by Linus Torvalds <torvalds@osdl.org>
38 Documentation
39 --------------
40 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
42 GIT
43 ---
44 Part of the gitlink:git[7] suite