Subject: Re: Bug report: v2.47.0 cannot fetch version 1 pack indexes

From: Taylor Blau <[email-masked]>
Date: Mon, 21 Oct 2024 16:06:59 -0400

On Sat, Oct 19, 2024 at 08:37:08PM -0400, Eric Sunshine wrote:
> On Sat, Oct 19, 2024 at 7:31 PM fox <[email-masked]> wrote:
> > What did you do before the bug happened? (Steps to reproduce your issue)
> > 1. Run git clone https://www.townlong-yak.com/test.git
> > Cloning into 'test'...
> > error: files '/Users/me/test/.git/objects/pack/tmp_idx_WT81vv' and '/Users/me/test/.git/objects/pack/pack-427331d91391b00844273eeb3879cb479ce2c995.idx' differ in contents
> > fatal: unable to rename temporary '*.idx' file to '/Users/me/test/.git/objects/pack/pack-427331d91391b00844273eeb3879cb479ce2c995.idx'
> > error: Unable to find 6261a9d9f7704c02a5421ff733919ab18793aa7d under https://www.townlong-yak.com/test.git
> > Cannot obtain needed object 6261a9d9f7704c02a5421ff733919ab18793aa7d
> > error: fetch failed.
>
> I can reproduce this problem.

Thanks for reproducing. This is definitely unintentional breakage, which
I see that Peff has already diagnosed and proposed a fix for. Let's read
on ...

Thanks,
Taylor