Messed up on 6/6 in v5, forgot to include changes from earlier versions (karma for not running tests before I send-email'd the patch series). Samuel Lijin (6): t7300: clean -d should skip dirs with ignored files t7061: status --ignored should search untracked dirs dir: recurse into untracked dirs for ignored files dir: hide untracked contents of untracked dirs dir: expose cmp_name() and check_contains() clean: teach clean -d to preserve ignored paths Documentation/technical/api-directory-listing.txt | 6 ++++ builtin/clean.c | 42 ++++++++++++++++++++++ dir.c | 43 ++++++++++++++++++++--- dir.h | 6 +++- t/t7061-wtstatus-ignore.sh | 1 + t/t7300-clean.sh | 16 +++++++++ 6 files changed, 109 insertions(+), 5 deletions(-) -- 2.13.0