Re: [PATCH 15/18] read-cache, remove_marked_cache_entries: wipe selected submodules.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 8, 2017, 23:37 UTC
- Message-ID
- <xmqq1su71gt8.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kYF63E17SNa9wt3X_28kbvjNujUBPoMct=RvDcyOeJm-w@mail.gmail.com>
Stefan Beller <sbeller@google.com> 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) ;-)