summaryrefslogtreecommitdiff
path: root/Documentation/doc-diff
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2018-08-28 17:20:26 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-30 09:28:02 -0700
commit3a5404333c6c8b5897e78c9dcb711d623035791b (patch)
tree30604b281cb194ab54045d65faa2dc0df71bd2a3 /Documentation/doc-diff
parentworktree: teach 'remove' to override lock when --force given twice (diff)
downloadtgif-3a5404333c6c8b5897e78c9dcb711d623035791b.tar.xz
worktree: delete .git/worktrees if empty after 'remove'
For cleanliness, "git worktree prune" deletes the .git/worktrees directory if it is empty after pruning is complete. For consistency, make "git worktree remove <path>" likewise delete .git/worktrees if it is empty after the removal. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/doc-diff')
0 files changed, 0 insertions, 0 deletions