Re: "Cannot fetch git.git" (worktrees at fault? or origin/HEAD) ?
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 20, 2017, 05:27 UTC
- Message-ID
- <CAGZ79kZc+O9gM97bVZETE3sgkmc-t78Nf_Hq6=K4Gf2yaE79zA@mail.gmail.com>
- In-Reply-To
- <20171020031630.44zvzh3d2vlhglv4@sigill.intra.peff.net>
On Thu, Oct 19, 2017 at 8:16 PM, Jeff King <peff@peff.net> wrote:
> On Thu, Oct 19, 2017 at 06:43:57PM -0700, Stefan Beller wrote:
> > So that's the right immediate workaround (and hoping there was nothing > valuable in that worktree!).
How would I know? ;)
Without the commit available I do not even know if the code there is well reasoned about. (My commit messages usually tell my future self how much thought I put into the code)
Show 5 quoted lines
> >> Any idea which direction we need to heading for a real fix? > > If my analysis above is correct, then it's already fixed. You just had > leftover corruption.
Well fetching yesterday worked and the commit in question is from 8/23, the merge 8a044c7f1d56cef657be342e40de0795d688e882 occurred 9/18, so I suspect there is something else at play. (I do not remember having a gc between yesterday and today. Though maybe one in the background?)
I am curious how you can have a worktree owned by multiple repositories [1] (?).
Thanks, Stefan