Q: Should "submodule set-url" add .gitmodules to index?
- From
- Ulrich 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