threads / discuss / 56402

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

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

## tl;dr

One message between Aug 30, 2021 and Aug 30, 2021.

replies: 0people: 1as markdown or json

Ulrich Windl· Aug 30, 2021, 08:56 UTC · lore
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

← back to recent threads