Eric Schulte <schulte.eric <at> gmail.com> writes:

> Additionally you could try the --word-diff option to git, i.e.,
> 
>   git diff --word-diff
> 
> or
> 
>   git diff --word-diff=color
> 
> which returns diffs which ignore whitespace changes and which show
> changes on the word rather than line level.  I believe it is possible to
> make this behavior default for a git repository but I've never done so
> and don't know how such a default would be specified.
> 
> Hope this helps -- Eric
> 

Thanks for the tip.  Here's some info that I think shows how to make --word-diff
option the default for a particular type (e.g., .org) fie:

http://stackoverflow.com/questions/7542543/use-gits-word-diff-for-latex-files

-- Herb


Reply via email to