[PATCH v2 0/3] Fix git-init in linked worktrees
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Sep 21, 2016, 11:29 UTC
- Message-ID
- <20160921112939.3444-1-pclouds@gmail.com>
- In-Reply-To
- <20160908134719.27955-1-pclouds@gmail.com>
v2 requires jk/setup-sequence-update so I could kill my workaround patch and avoid conflicts in t0001. And:
- 1/3 has a few missing words back in its commit message - 2/3, which was 3/3 in v1, no longer has the ugly hacky get_first_git_dir() - 3/3 is a new tiny code improvement after the new 2/3
Nguyễn Thái Ngọc Duy (3): init: correct re-initialization from a linked worktree init: do not set core.worktree more often than necessary init: reuse original_git_dir in set_git_dir_init()
builtin/init-db.c | 11 +++++++---- t/t0001-init.sh | 17 +++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-)
-- 2.8.2.524.g6ff3d78