summaryrefslogtreecommitdiff
path: root/contrib/subtree/git-subtree.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-01-22 15:35:49 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-22 14:28:42 -0800
commit618244e160cb0777bc8d41055f7de0192b10ea0f (patch)
treeb414b7f5842a0b09ac307982a190649aa8492c0b /contrib/subtree/git-subtree.sh
parentworktree.c: fix indentation (diff)
downloadtgif-618244e160cb0777bc8d41055f7de0192b10ea0f.tar.xz
worktree: stop supporting moving worktrees manually
The current update_linked_gitdir() has a bug that can create "gitdir" file in non-multi-worktree setup. Worse, sometimes it can write relative path to "gitdir" file, which will not work (e.g. "git worktree list" will display the worktree's location incorrectly) Instead of fixing this, we step back a bit. The original design was probably not well thought out. For now, if the user manually moves a worktree, they have to fix up "gitdir" file manually or the worktree will get pruned. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree/git-subtree.sh')
0 files changed, 0 insertions, 0 deletions