[PATCH v2 8/9] t7300: clean -d now skips untracked dirs containing ignored files
- From
Samuel Lijin <sxlijin@gmail.com>
- Date
- May 5, 2017, 10:46 UTC
- Message-ID
- <20170505104611.17845-9-sxlijin@gmail.com>
- In-Reply-To
- <20170505104611.17845-1-sxlijin@gmail.com>
This was previously broken (and likely never worked); this concludes the patch series fixing the behavior of clean -d.
Signed-off-by: Samuel Lijin <sxlijin@gmail.com> --- t/t7300-clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index 252c75b40..948a455e8 100755 --- a/t/t7300-clean.sh +++ b/t/t7300-clean.sh @@ -653,7 +653,7 @@ test_expect_success 'git clean -d respects pathspecs (pathspec is prefix of dir) test_path_is_dir foobar ' -test_expect_failure 'git clean -d skips untracked dirs containing ignored files' ' +test_expect_success 'git clean -d skips untracked dirs containing ignored files' ' echo /foo/bar >.gitignore && rm -rf foo && mkdir -p foo &&
-- 2.12.2