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