aboutsummaryrefslogtreecommitdiff
path: root/t/t7002-grep.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-12 19:06:41 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-13 01:04:54 -0800
commitbbc09c22b9f7784b1aab71d4876227956e6e8f4f (patch)
treea3595de4913b9561f91b14b7e6156b706dbc87ab /t/t7002-grep.sh
parente2d2e383d87dcbcd296ca9f21f3c8b7ef853c928 (diff)
downloadgit-bbc09c22b9f7784b1aab71d4876227956e6e8f4f.tar.gz
git-bbc09c22b9f7784b1aab71d4876227956e6e8f4f.tar.xz
grep: rip out support for external grep
We still allow people to pass --[no-]ext-grep on the command line, but the option is ignored. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7002-grep.sh')
-rwxr-xr-xt/t7002-grep.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh
index abd14bf81..c369cdbe9 100755
--- a/t/t7002-grep.sh
+++ b/t/t7002-grep.sh
@@ -302,8 +302,8 @@ test_expect_success 'grep -C1, hunk mark between files' '
test_cmp expected actual
'
-test_expect_success 'grep -C1 --no-ext-grep, hunk mark between files' '
- git grep -C1 --no-ext-grep "^[yz]" >actual &&
+test_expect_success 'grep -C1 hunk mark between files' '
+ git grep -C1 "^[yz]" >actual &&
test_cmp expected actual
'
@@ -359,7 +359,7 @@ test_expect_success 'log grep (6)' '
test_expect_success 'grep with CE_VALID file' '
git update-index --assume-unchanged t/t &&
rm t/t &&
- test "$(git grep --no-ext-grep test)" = "t/t:test" &&
+ test "$(git grep test)" = "t/t:test" &&
git update-index --no-assume-unchanged t/t &&
git checkout t/t
'