X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-submodule.sh;h=9ebbab798d21147fc019b6183cad0c462c9dafca;hb=d42cb5804f9c52b88b6dfe709a659e31394ea2ae;hp=170186f4946859e04d6a0b4ce248dd17bc877b31;hpb=2d984464c6be7ced6772a8dcf95d6a461a659a78;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