X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7810-grep.sh;h=c8777589ca1c89825b570cfc05405a39df39aaba;hb=dee40e5178bab78aaf655ee4323f3141acd17654;hp=50658845ca8769e963cfc13b20efb892f1f63cc0;hpb=8796ff7f3f3de6af48dc38b621f879d95f609bf7;p=git.git diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 50658845c..c8777589c 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -479,7 +479,7 @@ test_expect_success 'outside of git repository' ' echo file1:hello && echo sub/file2:world } >non/expect.full && - echo file2:world >non/expect.sub + echo file2:world >non/expect.sub && ( GIT_CEILING_DIRECTORIES="$(pwd)/non/git" && export GIT_CEILING_DIRECTORIES && @@ -505,7 +505,7 @@ test_expect_success 'inside git repository but with --no-index' ' echo sub/file2:world } >is/expect.full && : >is/expect.empty && - echo file2:world >is/expect.sub + echo file2:world >is/expect.sub && ( cd is/git && git init &&