Re: [PATCH] Add a test for a problem in "rebase --whitespace=fix"
- From
Björn Gustavsson <bgustavsson@gmail.com>
- Date
- Feb 10, 2010, 20:20 UTC
- Message-ID
- <6672d0161002101220h34ebbda8o3fde503d41c8313e@mail.gmail.com>
- In-Reply-To
- <7vzl3i137f.fsf@alter.siamese.dyndns.org>
2010/2/9 Junio C Hamano <gitster@pobox.com>:
> I actually changed my mind after thinking about it a bit more.
Thanks for thinking more about it and for your explanation about the algorithm
I am quite busy at the moment, but I hope to get started on a patch series after the end of February.
> I'd like to see this logic (and only this logic, without relying on the > diff hunk offset numbers at all) done first, because it is very much in > line with what we already do, and more importantly, because it is a more > general solution that is applicable outside the context of rebase.
I'll try to implement that logic. It seems that it should cover 99% of all real-world use cases. I will not worry about the general case (tons of blanks) until I have got the first patch working.
-- Björn Gustavsson, Erlang/OTP, Ericsson AB