Re: git worktrees must exist even if locked

2017-05-29 Thread Duy Nguyen
On Thu, May 11, 2017 at 3:24 AM, taylor, david wrote: > The Git documentation in describing worktrees says that one reason > why you might want to lock a worktree is to prevent it from being pruned > if it is on a removable media that isn't currently mounted. > > So, my

Re: git worktrees must exist even if locked

2017-05-29 Thread Duy Nguyen
On Tue, May 16, 2017 at 5:43 AM, Junio C Hamano wrote: > "taylor, david" writes: > >> The original report was against Git v2.12.2. I have since tried v2.12.3, >> v2.13.0, >> and the next branch. All exhibit the same symptoms. >> >> Even if you ignore

Re: git worktrees must exist even if locked

2017-05-15 Thread Junio C Hamano
"taylor, david" writes: > The original report was against Git v2.12.2. I have since tried v2.12.3, > v2.13.0, > and the next branch. All exhibit the same symptoms. > > Even if you ignore the original scenario for creating the problem, if I do a > 'rm -rf' or 'mv' > of

RE: git worktrees must exist even if locked

2017-05-15 Thread taylor, david
The original report was against Git v2.12.2. I have since tried v2.12.3, v2.13.0, and the next branch. All exhibit the same symptoms. Even if you ignore the original scenario for creating the problem, if I do a 'rm -rf' or 'mv' of a tree that contains within it worktrees, that should not