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