Discussion:
[PATCH 0/4] Multiple worktrees vs. submodules fixes
Max Kirillov
2014-10-12 05:13:07 UTC
Permalink
Hi.

These are fixes of issues with submodules with use of multiple working
trees.

To be applied on top of the $gmane/257559, (6b4ce012cb in current pu).

Max Kirillov (4):
checkout: do not fail if target is an empty directory
submodule refactor: use git_path_submodule() in add_submodule_odb()
git-common-dir: make "modules/" per-working-directory directory
path: implement common_dir handling in git_path_submodule()

Documentation/gitrepository-layout.txt | 4 +--
builtin/checkout.c | 2 +-
cache.h | 1 +
path.c | 26 +++++++++++---
setup.c | 17 +++++++---
submodule.c | 28 ++++++---------
t/t2025-checkout-to.sh | 7 +++-
t/t7410-submodule-checkout-to.sh | 62 ++++++++++++++++++++++++++++++++++
8 files changed, 114 insertions(+), 33 deletions(-)
create mode 100755 t/t7410-submodule-checkout-to.sh
--
2.0.1.1697.g73c6810
Loading...