X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-submodule.sh;h=9ebbab798d21147fc019b6183cad0c462c9dafca;hb=c2e0940b44ded03f0af02be95c35b231fea633c1;hp=170186f4946859e04d6a0b4ce248dd17bc877b31;hpb=1c80c9b2cb5ae0d8c77f3c73730225ca19aeef4a;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