git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 'git worktree repair' can't repair when main and linked worktrees are moved

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Dec 8, 2020, 17:42 UTC
Message-ID
<CAPig+cSEHR+S+y66zm5HFQCybtino0Ne=Z7qwB7tsc50pi1kpg@mail.gmail.com>
In-Reply-To
<CAPig+cT=-nNcfrzjSmTXymhFkB22bPFE6QRKXqPtat2ipUdboQ@mail.gmail.com>
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/
Previous: Eric SunshineNext: Philippe Blain
Message 4 of 5 in “'git worktree repair' can't repair when main and linked worktrees are moved”
  1. Philippe BlainDec 4, 2020
  2. Philippe BlainDec 4, 2020
  3. Eric SunshineDec 5, 2020
  4. Eric SunshineDec 8, 2020
  5. Philippe BlainDec 8, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.