summaryrefslogtreecommitdiff
path: root/t/t3001-ls-files-others-exclude.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-20 19:43:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-01-20 19:43:33 (GMT)
commit76b620d8166bf4cc7cadbc61f9927799ceea9162 (patch)
tree5cbea926379d763fb0de6fcdd2d8d80f82629669 /t/t3001-ls-files-others-exclude.sh
parentceef512e797115ae581cfbfd220334e20f1c7b28 (diff)
parent8c722360d1277259d4baec951e1488086f775214 (diff)
downloadgit-76b620d8166bf4cc7cadbc61f9927799ceea9162.zip
git-76b620d8166bf4cc7cadbc61f9927799ceea9162.tar.gz
git-76b620d8166bf4cc7cadbc61f9927799ceea9162.tar.bz2
Merge branch 'nd/exclusion-regression-fix'
The ignore mechanism saw a few regressions around untracked file listing and sparse checkout selection areas in 2.7.0; the change that is responsible for the regression has been reverted. * nd/exclusion-regression-fix: Revert "dir.c: don't exclude whole dir prematurely if neg pattern may match"
Diffstat (limited to 't/t3001-ls-files-others-exclude.sh')
-rwxr-xr-xt/t3001-ls-files-others-exclude.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/t/t3001-ls-files-others-exclude.sh b/t/t3001-ls-files-others-exclude.sh
index da257c0..3fc484e 100755
--- a/t/t3001-ls-files-others-exclude.sh
+++ b/t/t3001-ls-files-others-exclude.sh
@@ -305,29 +305,4 @@ test_expect_success 'ls-files with "**" patterns and no slashes' '
test_cmp expect actual
'
-test_expect_success 'negative patterns' '
- git init reinclude &&
- (
- cd reinclude &&
- cat >.gitignore <<-\EOF &&
- /fooo
- /foo
- !foo/bar/bar
- EOF
- mkdir fooo &&
- cat >fooo/.gitignore <<-\EOF &&
- !/*
- EOF
- mkdir -p foo/bar &&
- touch abc foo/def foo/bar/ghi foo/bar/bar &&
- git ls-files -o --exclude-standard >../actual &&
- cat >../expected <<-\EOF &&
- .gitignore
- abc
- foo/bar/bar
- EOF
- test_cmp ../expected ../actual
- )
-'
-
test_done