-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, I've encountered this problem with the flatpak-builder repository: https://github.com/flatpak/flatpak-builder/blob/main/.gitmodules [submodule "libglnx"] path = subprojects/libglnx url = https://gitlab.gnome.org/GNOME/libglnx.git [submodule "debugedit"] path = subprojects/debugedit url = https://sourceware.org/git/debugedit.git After 'git submodule init', using 'git submodule set-url libglnx foo' successfully modifies .gitmodules but does not touch .git/config. However, a subsequent 'git submodule sync' does sync the modified url to the local config. I've investigated a bit and it seems 'git submodule set-url' calls sync_submodule with "libglnx" as the path, which does not work, while 'git submodule sync' calls it with "subprojects/libglnx" as the path, which does work. Greetings, Jan -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQQGaHodnU+rCLUP2Ss7lKgOUKR3xwUCZL38OhUcaGVmdGlnQGFy Y2hsaW51eC5vcmcACgkQO5SoDlCkd8cfsAD+M6POceTxAkFpnnmAH7j3RYLBEjFP w4kzY3U0UPVMU3wBAIPRBGjiwGFp/ws/iMeGQKif1E0ElqcxEbFAQ36HytIG =4OVq -----END PGP SIGNATURE-----