Merge branch 'nd/worktree-add-B'
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2016 21:26:00 +0000 (13:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Feb 2016 21:26:00 +0000 (13:26 -0800)
"git worktree add -B <branchname>" did not work.

* nd/worktree-add-B:
worktree add -B: do the checkout test before update branch
worktree: fix "add -B"

Trivial merge