Merge branch 'sb/submodule-core-worktree'
commit7e25437d35a70791b345872af202eabfb3e1a8bc
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:28 +0000 (18 12:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 19:20:28 +0000 (18 12:20 -0700)
tree1d8dcdc9814e310d8be656b11d76885c37191185
parent00624d608cc69bd62801c93e74d1ea7a7ddd6598
parent984cd77ddbf0eea7371a18ad7124120473b6bb2d
Merge branch 'sb/submodule-core-worktree'

"git submodule" did not correctly adjust core.worktree setting that
indicates whether/where a submodule repository has its associated
working tree across various state transitions, which has been
corrected.

* sb/submodule-core-worktree:
  submodule deinit: unset core.worktree
  submodule: ensure core.worktree is set after update
  submodule: unset core.worktree if no working tree is present
builtin/submodule--helper.c
git-submodule.sh
submodule.c
t/t7400-submodule-basic.sh