]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7002-grep.sh
grep --no-index: don't use git standard exclusions
[thirdparty/git.git] / t / t7002-grep.sh
index bf4d4dcb2bc577715a02ae01f95a5be348e40384..918d33f7d1ab4d4d44dd6b13ca7e6029fe148ad5 100755 (executable)
@@ -439,7 +439,6 @@ test_expect_success 'outside of git repository' '
        mkdir -p non/git/sub &&
        echo hello >non/git/file1 &&
        echo world >non/git/sub/file2 &&
-       echo ".*o*" >non/git/.gitignore &&
        {
                echo file1:hello &&
                echo sub/file2:world
@@ -466,6 +465,7 @@ test_expect_success 'inside git repository but with --no-index' '
        echo world >is/git/sub/file2 &&
        echo ".*o*" >is/git/.gitignore &&
        {
+               echo ".gitignore:.*o*" &&
                echo file1:hello &&
                echo sub/file2:world
        } >is/expect.full &&