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

Re: [BUG] git-mv submodule failure

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 21, 2007, 10:02 UTC
Message-ID
<Pine.LNX.4.64.0710211102230.25221@racer.site>
In-Reply-To
<46dff0320710202248v56af5cb0gcf7dacb32848eca3@mail.gmail.com>
Hi,
On Sun, 21 Oct 2007, Yin Ping wrote:
> > But of course .gitmodules is unaffected.  But it should be changed, too.
> 
> IMHO, changing .gitmodules is what the 'git-submodule mv' should do, and 
> 'git-mv' should only rename the module directory

No. If you "git mv" a submodule, it makes absolutely no sense to leave .gitmodules as is.

Ciao, Dscho

Previous: Yin PingNext: Yin Ping
Message 4 of 5 in “[BUG] git-mv submodule failure”
  1. Yin PingOct 20, 2007
  2. Johannes SchindelinOct 20, 2007
  3. Yin PingOct 21, 2007
  4. Johannes SchindelinOct 21, 2007
  5. Yin PingOct 22, 2007

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.