Code

Merge branch 'bw/grep-no-index-no-exclude'
[git.git] / t / t7810-grep.sh
index 0d600163c8284a318fbd21f3a00dd7853b2f8956..4a05e79caee758ee7c2dbeb1914d41fc79346fd2 100755 (executable)
@@ -554,7 +554,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
@@ -581,6 +580,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 &&