Re: [PATCH 2/2] dir: test_one_path: fix inconsistent behavior due to missing '/'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 26, 2013, 05:38 UTC
- Message-ID
- <xmqqsixxj9ka.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAPig+cSY8oMeAaS2GRaPhwCkfO=eLa6-UPcJGRe98c0uUFbm8Q@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 6 quoted lines
> ... A > follow-up series [2] fixes both directory_exists_in_index() and > directory_exists_in_index_icase() to be more liberal in what they > accept, relieving the caller of the burden. By the time that series > was posted, however, Junio and Peff had decided that a fix at a more > fundamental level would be better (a conclusion with which I agree,
Thanks for a summary; the last "would be better" is a qualified one, though.
My understanding is that we agreed that it would be better *if* we can fix it at a more fundamental level. I looked at the codepaths involved just enough to make that off the cuff suggestion and no deeper than that, and I suspect neither did Peff.
If any of us looked at the problem deep enough, we may realize that it would affect too many things, and $gmane/232833/focus=232835 (your second round) may turn out to be a better solution. I think none of us know yet.