Merge branch 'tg/worktree-add-existing-branch' into jch
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Feb 2018 21:04:44 +0000 (13:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Feb 2018 21:04:44 +0000 (13:04 -0800)
commit95105a09c9a6db6da6020957fb4da01b300c4b08
tree5f1d7ffd39e33a8f53abd0854f2b31d1c5b405ec
parenta35cc21c15d0206e3c575413617963403a219f83
parent73d933f79c3a983468368364309b4f58313bcb4a
Merge branch 'tg/worktree-add-existing-branch' into jch

"git worktree add" learned to check out an existing branch.

* tg/worktree-add-existing-branch:
  worktree: teach "add" to check out existing branches
  worktree: be clearer when "add" dwim-ery kicks in
  worktree: improve message when creating a new worktree
Documentation/git-worktree.txt
builtin/worktree.c
t/t2025-worktree-add.sh