From: Junio C Hamano Date: Sat, 13 Jun 2020 00:28:07 GMT Subject: Re: [PATCH 4/4] clean: optimize and document cases where we recurse into subdirectories Message-ID: In-Reply-To: "Elijah Newren via GitGitGadget" writes: > ... > However, in clean's case we don't need to recurse into ignored > directories; that is just a waste of time. Nice. > Rather than relying on other bugs in fill_directory()'s former > logic to provide the behavior of skipping ignored directories, make use > of the DIR_SHOW_IGNORED_TOO_MODE_MATCHING value specifically added in > commit eec0f7f2b7 ("status: add option to show ignored files > differently", 2017-10-30) for this purpose. Thanks.