Nguyen Thai Ngoc Duy [off-list ref] writes:
2012/2/7 Junio C Hamano [off-list ref]:
quoted
But when I said "let's admit that this is just fixing an UI mistake, no
configuration, no options", I really meant it. Without the backward
compatiblity "For now please do not fix this bug for me and keep being
buggy until I get used to the non-buggy behaviour" fuss, which we never do
to any bugfix.
Ahh I missed something again. Your patch looks good too.
Ok, the strategy part is now behind us, but I have this slight suspicion
(I didn't look at the code nor tried it out myself---I don't have time to
do this myself today) that using this codepath might result in a corrupt
cache-tree, whose entries point at a section of the index it covers as a
subtree of the whole project but with incorrect counters or something like
that. It would be good to make sure this "just ignoring i-t-a" is doing
the right thing not to the resulting commit, but in the resulting index as
well, before we go forward with this change.