From: Junio C Hamano Date: Wed, 08 Mar 2017 23:37:07 GMT Subject: Re: [PATCH 15/18] read-cache, remove_marked_cache_entries: wipe selected submodules. Message-ID: In-Reply-To: Stefan Beller writes: > Side-question: > Is there some doc (commit message), that explains the difference > between CE_REMOVE and CE_WT_REMOVE ? That's something you need to ask Duy, I think, as it was introduced at e663db2f ("unpack-trees(): add CE_WT_REMOVE to remove on worktree alone", 2009-08-20) and was added for the sparse checkout stuff. During my review of the series that added the feature, I only had time to make sure that the patches do not change the behaviour when it is not in use, ignoring the other side of "if" statement that checked ce_skip_worktree(ce) ;-)