From: Junio C Hamano Date: Sun, 05 Aug 2007 06:02:01 GMT Subject: Re: [PATCH] unpack-trees.c: assume submodules are clean during check-out Message-ID: <7vbqdmh63q.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <8c5c35580708040441ue1c3ef8qc022912a5af4883e@mail.gmail.com> "Lars Hjemli" writes: > On 8/4/07, Junio C Hamano wrote: >> As we explicitly allow >> submodule checkout to drift from the supermodule index entry, >> the check should say "Ok, for submodules, not matching is the >> norm" for now. Later when we have the ability to mark "I care >> about this submodule to be always in sync with the superproject" >> (thereby implementing automatic recursive checkout and perhaps >> diff, among other things), we should check if the submodule in >> question is marked as such and perform the current test. > > Yes, this sounds like a sane plan (and a good explanation of the > current semantics: maybe something to include in the release notes for > 1.5.3?) The submodule Porcelain is a new thing in 1.5.3, so we would need a good description of what the current rules are and what our vision for future enhancement will be. I am not certain however the above is the accurate description of the current design and the direction we would want to go, though. Somebody needs to sanity check me.