There's no coherent explanation of what the advantages of Patience Diff are, so I'll explain now. First, a quick overview of how Patience Diff works -
- Match the first lines of both if they're identical, then match the second, third, etc. until a pair doesn't match.
- Match the last lines of both if they're identical, then match the next to last,
( Read more... )
Comments 10
Reply
Reply
Reply
(The comment has been removed)
Reply
Reply
Reply
$ bzr diff path1 path2
that does not work. I get
bzr: ERROR: Not a branch: "path1".
Reply
Suppose a new function is added, your functhreehalves here. Now what happens when you start comparing lines from the bottom up in your old and new file. You will start by finding the common function func2 in both files. But then you will find that the blank line and the end of func1 in the old file will match the blank line and the end of functhreehalves in the new file. So the result will be a diff in your pet peeve version.
Reply
Very nice idea and really cool diff output.
Reply
Leave a comment