Re: Bug report: v2.47.0 cannot fetch version 1 pack indexes
From: Eric Sunshine <hidden>
Date: 2024-10-20 00:37:21
On Sat, Oct 19, 2024 at 7:31 PM fox [off-list ref] 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.
Running git-bisect identifies b1b8dfde6929ec9463eca0a858c4adb9786d7c93 as the first bad commit, suggesting that the .idx file downloaded from the remote is now expected to be byte-for-byte identical with a locally-generated version; due to format differences, they are not.
Cc:'ing the authors of that commit.