Thread (10 messages) 10 messages, 2 authors, 2020-01-09

Re: [PATCH 1/1] worktree: delete branches auto-created by 'worktree add'

From: Eric Sunshine <hidden>
Date: 2019-12-18 19:34:20

On Wed, Dec 18, 2019 at 2:31 PM Pratyush Yadav [off-list ref] wrote:
On 14/12/19 09:44PM, Pratyush Yadav wrote:
quoted
When no branch name is supplied to 'worktree add', it creates a new
branch based on the name of the directory the new worktree is located
in. But when the worktree is later removed, that created branch is left
over.

Remove that branch when removing the worktree. To make sure no commits
are lost, the branch won't be deleted if it has moved.
Ping?
I scanned the patch when you sent it and will have a number of
comments to make when I find time to review it formally.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help