Skip to content

Commit f9ee2fc

Browse files
bmwillgitster
authored andcommitted
grep: recurse in-process using 'struct repository'
Convert grep to use 'struct repository' which enables recursing into submodules to be handled in-process. Signed-off-by: Brandon Williams <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2184d4b commit f9ee2fc

File tree

7 files changed

+88
-344
lines changed

7 files changed

+88
-344
lines changed

Documentation/git-grep.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,6 @@ OPTIONS
9595
<tree> option the prefix of all submodule output will be the name of
9696
the parent project's <tree> object.
9797

98-
--parent-basename <basename>::
99-
For internal use only. In order to produce uniform output with the
100-
--recurse-submodules option, this option can be used to provide the
101-
basename of a parent's <tree> object to a submodule so the submodule
102-
can prefix its output with the parent's name rather than the SHA1 of
103-
the submodule.
104-
10598
-a::
10699
--text::
107100
Process binary files as if they were text.

0 commit comments

Comments
 (0)