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