Eric Sunshine <sunshine@xxxxxxxxxxxxxx> writes: > No. For this repair to work, the gitfile in the linked worktree must > be intact; it must be pointing back at the .git/worktrees/<id> > directory so that "git worktree repair" can repair the corresponding > .git/worktrees/<id>/gitdir file. OK, I missed the fact that we can learn <id> quite easily if we have the gitfile. Thanks.