X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-submodule.sh;h=9ebbab798d21147fc019b6183cad0c462c9dafca;hb=189645ca844da2fd4f7e3318bbd9f7098e886dc4;hp=170186f4946859e04d6a0b4ce248dd17bc877b31;hpb=3d045897585c4b1ca0dce6bb5a33331f1b48c2bf;p=git.git diff --git a/git-submodule.sh b/git-submodule.sh index 170186f49..9ebbab798 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -839,10 +839,11 @@ cmd_sync() if test -e "$path"/.git then ( + say "Synchronizing submodule url for '$name'" + git config submodule."$name".url "$url" clear_local_git_env cd "$path" remote=$(get_default_remote) - say "Synchronizing submodule url for '$name'" git config remote."$remote".url "$url" ) fi