git diff --patience

Generated more useful output for me than the default, in the context of
the changes I was making.

The same option is valid for git format-patch

The resulting diffs were semantically equivalent, but the --patience diff
was longer, and in my case easier to understand.

Here's the default diff statistics:

 src/jarabe/journal/model.py |  128 ++++++++++++++++++++++++++++++------------
 1 files changed, 91 insertions(+), 37 deletions(-)

Here's the --patience diff statistics:

 src/jarabe/journal/model.py |  144 +++++++++++++++++++++++++++++-------------
 1 files changed, 99 insertions(+), 45 deletions(-)

Take a look side by side; default on left, patience on right:

http://dev.laptop.org/~quozl/patience.html

-- 
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to