Merge branch 'nd/worktree-move'
commitbd0f794342d5b3921f2d5d4bffce87ec7b7e4d96
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 19:01:05 +0000 (14 12:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2018 19:01:05 +0000 (14 12:01 -0700)
treef080814888dc0d530d2bc7fe3fa8fe21a136de7b
parent436d18f2d00b61bea44be2f8d35a437172132873
parent7f19def0fc254829839495f7fb44a7d99b161d3d
Merge branch 'nd/worktree-move'

"git worktree" learned move and remove subcommands.

* nd/worktree-move:
  t2028: fix minor error and issues in newly-added "worktree move" tests
  worktree remove: allow it when $GIT_WORK_TREE is already gone
  worktree remove: new command
  worktree move: refuse to move worktrees with submodules
  worktree move: accept destination as directory
  worktree move: new command
  worktree.c: add update_worktree_location()
  worktree.c: add validate_worktree()
Documentation/git-worktree.txt
builtin/worktree.c
contrib/completion/git-completion.bash
strbuf.c