Re: Re* [PATCH] builtin-rerere: fix conflict markers parsing
- From
- Olivier Marin <dkr+ml.git@free.fr>
- Date
- Jul 8, 2008, 10:42 UTC
- Message-ID
- <4873447D.5090208@free.fr>
- In-Reply-To
- <7vwsjwvmlk.fsf_-_@gitster.siamese.dyndns.org>
Junio C Hamano a écrit :
Show 11 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > > I am wondering if a patch like this on top of your patch may make things > even safer. The idea is the same as the earlier a1b32fd (git-rerere: > detect unparsable conflicts, 2008-06-22) to fail rerere unless the markers > are unambiguous. > > Thanks to your isspace(buf[7]), it is slightly less likely that this > safety triggers on false positives. > > Thoughts?
My main concern was the error message that most users will not understand after a "git rebase --continue", for example. So, I tried to remove it and let things work as before because rerere seems to work even with ambiguous cases.
But I think your patch is the right thing to do: safe is better.
Olivier.