worktree: teach 'move' to override lock when --force given twice
commit68a6b3a1bd45eb1814a0c1cedfe347692c3f2ff7
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 28 Aug 2018 21:20:24 +0000 (28 17:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Aug 2018 16:28:02 +0000 (30 09:28 -0700)
tree2179e2f878c546a9cbf6e803dd9d860dd0b08340
parente19831c94f91fd410fe001c0372b9c88b40d335b
worktree: teach 'move' to override lock when --force given twice

For consistency with "add -f -f", which allows a missing but locked
worktree path to be re-used, allow "move -f -f" to override a lock,
as well, as a convenience.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-worktree.txt
builtin/worktree.c
t/t2028-worktree-move.sh