aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile/packfile_test.go
diff options
context:
space:
mode:
authorAlexander Block <ablock84@gmail.com>2024-04-02 11:42:32 +0200
committerAlexander Block <ablock84@gmail.com>2024-04-06 08:30:31 +0200
commit8a3757ce0b63e842f1e466955f0a4cc2eed429eb (patch)
tree18f85251c9328a216c70b8d4b27ea150b4679a0c /plumbing/format/packfile/packfile_test.go
parent7bd40f548987b3f0ce544902b9c4fbdf8d310882 (diff)
downloadgo-git-8a3757ce0b63e842f1e466955f0a4cc2eed429eb.tar.gz
plumbing: Properly support skipping of non-mandatory extensions
Before this, go-git would prematurely bail out of extensions processing when an unknown extension was encountered. This had two issues: 1. It did not account for mandatory (lower case header) extensions 2. It did not properly update the calculated hash, leading to an "invalid checksum" error.
Diffstat (limited to 'plumbing/format/packfile/packfile_test.go')
0 files changed, 0 insertions, 0 deletions