Merge branch 'pb/recurse-submodule-in-worktree-fix'
commitff5134b2fffe202fb48498f15d6e47673f9bd6b2
authorJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2020 22:35:00 +0000 (5 14:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Feb 2020 22:35:00 +0000 (5 14:35 -0800)
tree4b9eed59b70cfbe4b66281ecb25e4f26997df4fc
parentb5c71cc33d8dbd0b95fb05e630fe54f8063467f1
parenta9472afb6328e22cdaea4225d3b36b97d2e9e704
Merge branch 'pb/recurse-submodule-in-worktree-fix'

The "--recurse-submodules" option of various subcommands did not
work well when run in an alternate worktree, which has been
corrected.

* pb/recurse-submodule-in-worktree-fix:
  submodule.c: use get_git_dir() instead of get_git_common_dir()
  t2405: clarify test descriptions and simplify test
  t2405: use git -C and test_commit -C instead of subshells
  t7410: rename to t2405-worktree-submodule.sh
submodule.c