X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7810-grep.sh;h=7ba5b16f99443c0dc5aaff8fbb4ce4ad8874a27c;hb=f2120eb4db3e3e3f9a336eb04fdc2319d7421536;hp=81263b78516cbe2949ad7e426a5e44af188cccdd;hpb=b052781fef2f978ba9cc55d6de942bb779bd54ac;p=git.git diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 81263b785..7ba5b16f9 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -523,6 +523,20 @@ test_expect_success 'grep -W' ' test_cmp expected actual ' +cat >expected <.gitattributes && + git grep -W return >actual && + test_cmp expected actual +' + test_expect_success 'grep from a subdirectory to search wider area (1)' ' mkdir -p s && (