"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Regress failures with git 2.50.0
To:
gameoftrees@openbsd.org
Date:
Sat, 28 Jun 2025 16:46:16 +0200

Download raw body.

Thread
Starting with git 2.50.0, git fsck is unhappy about something in

branch.sh:test_branch_delete_packed()

git fsck: error: packed-refs.header: badPackedRefHeader: '# pack-refs with:' does not start with '# pack-refs with: '
fatal: unexpected line in .git/packed-refs: # pack-refs with:
git fsck failed; leaving test data in /tmp/got-test-branch_delete_packed-mRcjfQ46cy

and again ref.sh:test_ref_delete()

git fsck: error: packed-refs.header: badPackedRefHeader: '# pack-refs with:' does not start with '# pack-refs with: '
fatal: unexpected line in .git/packed-refs: # pack-refs with:
git fsck failed; leaving test data in /tmp/got-test-ref_delete-T3AMp2Cv3P

Evidently related to the use of "git -C $testroot/repo pack-refs --all"
in those tests.  I noticed this when running the tests for 0.115
on FreeBSD, where the git port has already moved to 2.50.0.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de