Merge branch 'ky/branch-m-worktree'
commit741a6942eb241dfc1317b7692381fc41dbb92501
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Apr 2016 17:48:11 +0000 (18 10:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Apr 2016 17:48:11 +0000 (18 10:48 -0700)
treed716da40ac03d8fbe811aeebacd9168d247ba186
parentb8b4d93100651876299eabaf76248510e616fab3
parent18eb3a9ce7c544e74d424b942c5a5c9720c20112
Merge branch 'ky/branch-m-worktree'

When "git worktree" feature is in use, "git branch -m" renamed a
branch that is checked out in another worktree without adjusting
the HEAD symbolic ref for the worktree.

* ky/branch-m-worktree:
  set_worktree_head_symref(): fix error message
  branch -m: update all per-worktree HEADs
  refs: add a new function set_worktree_head_symref
builtin/branch.c
t/t3200-branch.sh