]> granicus.if.org Git - git/commitdiff
Merge branch 'nd/do-not-move-worktree-manually'
authorJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2016 22:20:05 +0000 (14:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2016 22:20:05 +0000 (14:20 -0800)
"git worktree" had a broken code that attempted to auto-fix
possible inconsistency that results from end-users moving a
worktree to different places without telling Git (the original
repository needs to maintain backpointers to its worktrees, but
"mv" run by end-users who are not familiar with that fact will
obviously not adjust them), which actually made things worse
when triggered.

* nd/do-not-move-worktree-manually:
  worktree: stop supporting moving worktrees manually
  worktree.c: fix indentation

1  2 
setup.c

diff --cc setup.c
Simple merge