[MERGE] Refactor diffing
Marius Kruger
amanic at gmail.com
Fri Nov 23 15:32:44 GMT 2007
hi,
thanks for doing this.
Some time ago I thought about writing a plugin that can do whitespace-diff
and whitespace-status
to be able to see only whitespace changes and nothing else, in stead of
reading through a
long diff which is the case when using cdiff --check-style.
When I looked at the diff code back then I realised it wouldn't be so easy
to change the diff
algorithm, so I parked it.
I'm guessing that this change will make that sort of thing a lot easier,
I would just have to somehow register my whitespace differ for that command,
and have to get it to ignore binary files IIUC.
regards
marius
On Nov 21, 2007 8:06 PM, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> Hi all,
>
> This patch refactors diffing:
...
> - - It cleans up the code significantly
> - - By moving responsibility to a Command object, it should make it easier
> to use different diff implementations in the future (currently hacked
> around by difftools and bzrtools' colordiff).
...
>
> Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20071123/835c2d40/attachment.htm
More information about the bazaar
mailing list