From: Junio C Hamano Date: Wed, 6 Dec 2017 17:23:35 +0000 (-0800) Subject: Merge branch 'sb/submodule-recursive-checkout-detach-head' X-Git-Tag: v2.16.0-rc0~84 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0b75572a1b9f601b751d431faea55f492ea92ac9 Merge branch 'sb/submodule-recursive-checkout-detach-head' "git checkout --recursive" may overwrite and rewind the history of the branch that happens to be checked out in submodule repositories, which might not be desirable. Detach the HEAD but still allow the recursive checkout to succeed in such a case. * sb/submodule-recursive-checkout-detach-head: Documentation/checkout: clarify submodule HEADs to be detached recursive submodules: detach HEAD from new state --- 0b75572a1b9f601b751d431faea55f492ea92ac9