emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org, Diffs, and Version Control


From: Herbert Sitz
Subject: Re: [O] Org, Diffs, and Version Control
Date: Sun, 16 Oct 2011 16:56:28 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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

[Prev in Thread] Current Thread [Next in Thread]