X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7810-grep.sh;h=7ba5b16f99443c0dc5aaff8fbb4ce4ad8874a27c;hb=05c65cb1161f232c65b186d6d6eb3bce9c6a0924;hp=81263b78516cbe2949ad7e426a5e44af188cccdd;hpb=23838b8a152a6363e22fdbe3f474fab904f701b3;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 && (