Thread (5 messages) 5 messages, 3 authors, 2017-11-27

Re: [RFC PATCH] builtin/worktree: enhance worktree removal

From: Kaartic Sivaraam <hidden>
Date: 2017-11-22 17:51:31

Possibly related (same subject, not in this thread)

Kaartic: Regarding the actual patch, rather than silencing
validate_worktree() (which seems an unfortunate thing to do), isn't it
possible simply to do a quick test to see if the worktree directory
exists before calling validate_worktree()? If it doesn't exist, then
just skip down to the part of the code which does the 'prune'
operation.
Nice suggestion. It seems to be a much better thing to do than silencing 
'validate_worktree' (it was an "ad-hoc" patch, you see). I'll send an 
update incorporating this suggestion (of course, with the suggested 
commit message), when I find time.

Thanks,
Kaartic
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help