[PATCH v2 8/9] t7300: clean -d now skips untracked dirs containing ignored files
From: Samuel Lijin <hidden>
Date: 2017-05-06 18:50:03
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Samuel Lijin <hidden>
Date: 2017-05-06 18:50:03
Subsystem:
the rest · Maintainer:
Linus Torvalds
This was previously broken (and likely never worked); this concludes the patch series fixing the behavior of clean -d. Signed-off-by: Samuel Lijin <redacted> --- 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