Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] unpack-trees.c: assume submodules are clean during check-out

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:26

"Lars Hjemli" [off-list ref] writes:
On 8/4/07, Junio C Hamano [off-list ref] wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help