t7300: clean -d should skip dirs with ignored files
authorSamuel Lijin <redacted>
Thu, 18 May 2017 08:21:49 +0000 (04:21 -0400)
committerJunio C Hamano <redacted>
Mon, 22 May 2017 03:06:52 +0000 (12:06 +0900)
commitb3487ccc0bffc28e134333b164d0d84fdd15d9f4
treeb52b4b552852a39bc80b4f6bbdec30e2f11e1cb6
parent95d67879735cfecfdd85f89e59d993c5b4de8835
t7300: clean -d should skip dirs with ignored files

If git sees a directory which contains only untracked and ignored
files, clean -d should not remove that directory. It was recently
discovered that this is *not* true of git clean -d, and it's possible
that this has never worked correctly; this test and its accompanying
patch series aims to fix that.

Signed-off-by: Samuel Lijin <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7300-clean.sh
git clone https://git.99rst.org/PROJECT