Re: 'git worktree repair' can't repair when main and linked worktrees are moved
- From
Philippe Blain <levraiphilippeblain@gmail.com>
- Date
- Dec 8, 2020, 22:27 UTC
- Message-ID
- <CADtb9DwR4SQE7w9YmzpEgvvdt+wQYm5rQSC7nQ+mevzJOthj8A@mail.gmail.com>
- In-Reply-To
- <CAPig+cSEHR+S+y66zm5HFQCybtino0Ne=Z7qwB7tsc50pi1kpg@mail.gmail.com>
Hi Eric,
Le mar. 8 déc. 2020, à 12 h 42, Eric Sunshine <sunshine@sunshineco.com> a écrit :
Show 14 quoted lines
> > On Sat, Dec 5, 2020 at 4:22 AM Eric Sunshine <sunshine@sunshineco.com> wrote: > > On Fri, Dec 4, 2020 at 6:14 PM Philippe Blain > > <levraiphilippeblain@gmail.com> wrote: > > > I've had to move all my Git clones to a new filesystem. > > > Several of them use secondary worktrees [...] > > > I had hoped to use the new 'git worktree repair' command > > > but it seems it does not work for this use case. > > > > This is a situation which `git worktree repair` can not yet handle. > > A patch[1] addressing this shortcoming has been posted. > > [1]: https://lore.kernel.org/git/20201208173705.5770-1-sunshine@sunshineco.com/
Great! I'll try to take a look.
Thanks, Philippe.