Merge branch 'sb/submodule-update-try-harder'
commita173dddf4483ed11b228077078becc8b65174b46
authorJunio C Hamano <gitster@pobox.com>
Wed, 30 May 2018 05:04:12 +0000 (30 14:04 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 May 2018 05:04:12 +0000 (30 14:04 +0900)
treec63671919033c027195c496c5a162f1e175657db
parent017b7c52fc00897c72f6c4808ded43c4c5f9c5b8
parente30d833671d634ea6455fd49596ac7339a4915b1
Merge branch 'sb/submodule-update-try-harder'

"git submodule update" attempts two different kinds of "git fetch"
against the upstream repository to grab a commit bound at the
submodule's path, but it incorrectly gave up if the first kind
(i.e. a normal fetch) failed, making the second "last resort" one
(i.e. fetching an exact commit object by object name) ineffective.
This has been corrected.

* sb/submodule-update-try-harder:
  git-submodule.sh: try harder to fetch a submodule
git-submodule.sh