Merge branch 'sb/submodule-move-head-error-msg'
commit392b3dde513083b9975c990cd2cf410d2846b941
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2018 21:50:43 +0000 (24 14:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jul 2018 21:50:43 +0000 (24 14:50 -0700)
tree61688f2addc58bfd88ebeb8698c67a552f593a9a
parenta9e7fe96ccac50628ad032a99bc514f5ed7bf09c
parentba95d4e4bdf03badef6bc5c44bc059464f3e79d3
Merge branch 'sb/submodule-move-head-error-msg'

"git checkout --recurse-submodules another-branch" did not report
in which submodule it failed to update the working tree, which
resulted in an unhelpful error message.

* sb/submodule-move-head-error-msg:
  submodule.c: report the submodule that an error occurs in
submodule.c
t/lib-submodule-update.sh