]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-worktree.txt
worktree: teach 'remove' to override lock when --force given twice
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 28 Aug 2018 21:20:25 +0000 (17:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Aug 2018 16:28:02 +0000 (09:28 -0700)
commitf4143101cbb26d189f63f2d29875f4acc07b2730
tree8d1d73f60c1101c88bfb86e59c44ff9aad4f8c29
parent68a6b3a1bd45eb1814a0c1cedfe347692c3f2ff7
worktree: teach 'remove' to override lock when --force given twice

For consistency with "add -f -f" and "move -f -f" which override
the lock on a worktree, allow "remove -f -f" to do so, 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