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

Re: git submodule vs git mergetool

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jan 19, 2011, 18:40 UTC
Message-ID
<4D373037.8050606@web.de>
In-Reply-To
<AANLkTi=jS1LQY0kfSD_=o0PZ9BAF7k=06QFT+agkvGNa@mail.gmail.com>
Am 18.01.2011 10:04, schrieb Mathieu Malaterre:
Show 19 quoted lines
> $ git mergetool
> merge tool candidates: meld opendiff kdiff3 tkdiff xxdiff
> tortoisemerge gvimdiff diffuse ecmerge p4merge araxis emerge vimdiff
> Merging the files: Testing/Data
> 
> mv: cannot stat `Testing/Data': No such file or directory
> cp: cannot stat `./Testing/Data.BACKUP.5251': No such file or directory
> error: git checkout-index: cannot create temporary subproject
> error: git checkout-index: cannot create temporary subproject
> Normal merge conflict for 'Testing/Data':
>   {local}: created
>   {remote}: created
> Hit return to start merge resolution tool (gvimdiff):
> 3 files to edit
> Testing/Data seems unchanged.
> Was the merge successful? [y/n] y
> fatal: unable to stat 'Testing/Data': No such file or directory
> 
> I guess this is a minor issue, but I thought I should report it here.

I assume this happens when you do the merge in a work tree where this submodule does not exist? Right now git does not populate submodules that show up while switching branches or doing a merge. I am working on that feature, but progress is not as swift as I hoped ...

Previous: Mathieu Malaterre
Message 2 of 2 in “git submodule vs git mergetool”
  1. Mathieu MalaterreJan 18, 2011
  2. Jens LehmannJan 19, 2011

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.