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

Re: Diftool problems

From
David Aguilar <davvid@gmail.com>
Date
May 2, 2009, 09:05 UTC
Message-ID
<20090502090531.GC34467@gmail.com>
In-Reply-To
<7c0fdf4f0904291255i4076df8cubb26fdb2d51826d4@mail.gmail.com>
On  0, Marcin Zalewski <marcin.zalewski@gmail.com> wrote:
> > The real fix would be to adjust the ediff snippet for difftool support.
> 
> "$merge_tool_path" -f emerge-files-command \
> 				"$LOCAL" "$REMOTE" "$(basename "$MERGED")"
Hi
Would the right command be:
	"$merge_tool_path" -f emerge-files-command \
		"$LOCAL" "$REMOTE"
(without $MERGED) ?
Show 7 quoted lines
> I think that merge result could be a temporary file, like in
> mergetool. In a situation where I use git to track an SVN repository,
> difftool can be actually used to merge my uncommitted changes with a
> commit from someone else after doing svn rebase. On the other hand, I
> am no git expert so there may be a better way to handle this case.
> 
> -m

Are you able to save the result to a file with the above snippet? I'd prefer to not touch the way difftool deals with files this late in the RC cycle, and if just saving within emacs works without changing difftool to use temporary files then that's even better.

I tried it and didn't notice any difference w/ or w/out the patch, but if not specifying $MERGED is more correct then we should do that.

You should have just seen a patch from me. Let me know if you have any other suggestions.

-- 
		David
Previous: Marcin Zalewski
Message 6 of 6 in “Diftool problems”
  1. Marcin ZalewskiApr 29, 2009
  2. Markus HeidelbergApr 29, 2009
  3. Marcin ZalewskiApr 29, 2009
  4. Markus HeidelbergApr 29, 2009
  5. Marcin ZalewskiApr 29, 2009
  6. David AguilarMay 2, 2009

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.