I just discovered the --word-diff option to "git diff" command.  That
option has proven to be essential for evaluation of my recent commits
concerning markdown format files (which all have extraordinarily long
lines which makes "git diff" output without the --word-diff option
essentially impossible to interpret).

To show how useful this option is, compare results from

git diff 7bedc70ad0^ 7bedc70ad0

and

git diff --word-diff 7bedc70ad0^ 7bedc70ad0

The former result is essentially impossible to interpret because of
the very long lines while the latter clearly shows the small tweaks I
performed on those long lines for commit 7bedc70ad0.

I am happy we are using git because I keep finding such cool
functionality (as above).  :-)

Alan
__________________________
Alan W. Irwin

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to