From: Junio C Hamano Date: Mon, 31 Aug 2020 19:07:04 GMT Subject: Re: [PATCH 3/5] worktree: teach "repair" to fix outgoing links to worktrees Message-ID: In-Reply-To: Eric Sunshine 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/ > directory so that "git worktree repair" can repair the corresponding > .git/worktrees//gitdir file. OK, I missed the fact that we can learn quite easily if we have the gitfile. Thanks.