Re: 'git worktree repair' can't repair when main and linked worktrees are moved
On Sat, Dec 5, 2020 at 4:22 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 8 quoted lines
> 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/