On 1/10/13, Frederik Beaujean <[email protected]> wrote:
> just installed magit and I like it. One thing that surprises me: after
> pressing 'e' in a diff to enter the ediff interface, I can use ediff's
> features to add single lines to the index, but I can't save the index.
> Once I quit ediff, my additions to the index are all gone. Is that on
> purpose? Or am I missing something?

I am on maint, so this might be out of date, but I am unaware of ediff
write integration.  Perhaps what you did was change temporary files.

It would be best to add write integration to ediff, rather than magit,
and then have magit use those hooks.  That way, other software can use
ediff the same way.

The trouble is that ediff does not run from the git diff.  It runs
diff by itself.  In fact, I think it lacks the ability to run from any
diff.  Therefore you can't easily determine which hunks to act on.

===

Ideally ediff would be made to run from any diff -u output, without
the original files being necessary.

I have more on this, but if possible it would be best to make ediff do
that natively.  I don't know if that's possible.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is no hope without action.

Reply via email to