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

Q: Should "submodule set-url" add .gitmodules to index?

From
UWUlrich Windl <ulrich.windl@rz.uni-regensburg.de>
Date
Aug 30, 2021, 08:56 UTC
Message-ID
<612C9D2D020000A100043924@gwsmtp.uni-regensburg.de>
Hi!

Realizing that some of my git submodule repositories were at the wrong path, I moved the repositories and updated a workspace using "git submodule set-url ...". Checking the status I noticed that .gitmodules was not added to index (as opposed to a "git mv ..."). Is that intentional? Seen in git 2.26.2.

Regards, Ulrich Windl

Message 1 of 1 in “Q: Should "submodule set-url" add .gitmodules to index?”
  1. Ulrich WindlAug 30, 2021

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.