git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Ediff interactive add

From
Rémi Vanicat <vanicat@debian.org>
Date
Jan 14, 2013, 19:57 UTC
Message-ID
<87fw23wn9e.fsf@debian.org>
In-Reply-To
<50EFF882.5010206@mpp.mpg.de>

Frederik Beaujean <beaujean-rVlqnlWY17WELgA04lAiVw@public.gmane.org> writes:

Show 18 quoted lines
> On 13-01-11 01:47 AM, Samuel Wales wrote:
>> 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.
> Thanks for your prompt replies. The reason I looked for this feature
> is that it is available in the package git-emacs. There I can choose
> Git - 
> Add to index - Select changes in current file. Then ediff starts, and
> I can modify the buffer named <index>:FILENAME at will.
> After I answer 'y' to 'Quit this Ediff session?',  another question comes up
> 'Add changes to the git index? (y or n)'. With 'y' I see the message
> Saving file /tmp/git-emacs-tmp6991oXZ...'
>
> So I guess all it takes is saving a temporary file and adding its
> content to the index. Given my lack of experience in lisp programming,
> I don't know how hard it actually is to implement in magit,
> though. But a quick look into the source code of git-emacs revealed
> this function
>
[...]
> I would be very happy if this became available in magit.
Could you test what has just been pushed in master, it should do it.
-- 
Rémi Vanicat
Message 1 of 1 in “Re: Ediff interactive add”
  1. Rémi VanicatJan 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.