Nobody has replied, so I thought I'd propose a different method.

Is there a command in Magit that could do diff --color-words instead
of regular diff for whichever diff is being run (e.g. in the status
buffer)?

Then, in principle, we could see the ordinary diff normally, but when
we want to see color-words, we run that command.

This could even be in a different buffer, if necessary, so that the
diff remains usable in the original buffer for selecting text to
stage, etc.

Thanks.

Samuel

On 2010-09-04, Samuel Wales <[email protected]> wrote:
> Hi all,
>
> I really like magit.  Thanks!
>
> Has anybody considered git diff --color-words for the default magit
> output?  Would that be a difficult thing to add?  I cannot do it
> myself, but would like to know if it has been considered, or if it is
> likely to be added.
>
> The use case is natural language paragraphs with just a few words'
> difference.
>
> Also possibly technical lines with just a few characters' difference.
>
> It is too awkward to invoke ediff.
>
> Thanks.
>
> Samuel
>
> --
> Q: How many CDC "scientists" does it take to change a lightbulb?
> A: "You only think it's dark." [CDC has denied a deadly serious
> disease for 25 years]
> ==========
> Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
> ===
> I would like to see the original Lo et al. 2010 NIH/FDA XMRV paper.
>


-- 
Q: How many CDC "scientists" does it take to change a lightbulb?
A: "You only think it's dark." [CDC has denied a deadly serious
disease for 25 years]
==========
Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I would like to see the original Lo et al. 2010 NIH/FDA/Harvard XMRV paper.

Reply via email to