diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-06-20 11:01:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-20 11:01:01 -0700 |
commit | de76eb69d2359f4820b120e49be9a30067bb5d3b (patch) | |
tree | 51f807fe5408f60b5a3fc659aaab47cff4f75480 /git-submodule.sh | |
parent | Merge branch 'ew/daemon-socket-keepalive' (diff) | |
parent | submodule update: make use of the existing fetch_in_submodule function (diff) | |
download | tgif-de76eb69d2359f4820b120e49be9a30067bb5d3b.tar.xz |
Merge branch 'sb/submodule-misc-cleanups'
Minor simplification.
* sb/submodule-misc-cleanups:
submodule update: make use of the existing fetch_in_submodule function
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 7fe8a511b3..128f22ffb8 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -611,7 +611,7 @@ cmd_update() if test -z "$nofetch" then # Fetch remote before determining tracking $sha1 - (sanitize_submodule_env; cd "$sm_path" && git-fetch) || + fetch_in_submodule "$sm_path" || die "$(eval_gettext "Unable to fetch in submodule path '\$sm_path'")" fi remote_name=$(sanitize_submodule_env; cd "$sm_path" && get_default_remote) |