diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-09-18 10:56:40 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-18 10:56:40 +0400 |
commit | a017f27dcbe6b4f9c8760ccc8a7e248c680b6a23 (patch) | |
tree | 1798b752d9e8cd1bac23d5ab60884ec2b818953d /t | |
parent | 9269df96105dff5ecc137b598ac7664d218ac6be (diff) | |
parent | d99ebf081797dbb43ff618ff59f4c607b0acf045 (diff) |
Merge branch 'jc/grep-c' into maint
* jc/grep-c:
Split grep arguments in a way that does not requires to add /dev/null.
Diffstat (limited to 't')
-rwxr-xr-x | t/t7002-grep.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh index 6bfb899ed1..68b2b92879 100755 --- a/t/t7002-grep.sh +++ b/t/t7002-grep.sh @@ -107,6 +107,10 @@ do diff expected actual ' + test_expect_failure "grep -c $L (no /dev/null)" ' + git grep -c test $H | grep -q "/dev/null" + ' + done test_done |