We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1376e50 commit b31f688Copy full SHA for b31f688
t/t7810-grep.sh
@@ -182,6 +182,24 @@ do
182
test_cmp expected actual
183
'
184
185
+ test_expect_success "grep --max-depth 0 -- . t $L" '
186
+ {
187
+ echo ${HC}t/v:1:vvv
188
+ echo ${HC}v:1:vvv
189
+ } >expected &&
190
+ git grep --max-depth 0 -n -e vvv $H -- . t >actual &&
191
+ test_cmp expected actual
192
+ '
193
+
194
+ test_expect_success "grep --max-depth 0 -- t . $L" '
195
196
197
198
199
+ git grep --max-depth 0 -n -e vvv $H -- t . >actual &&
200
201
202
203
done
204
205
cat >expected <<EOF
0 commit comments