diff options
author | Alexander Block <ablock84@gmail.com> | 2024-04-02 11:42:32 +0200 |
---|---|---|
committer | Alexander Block <ablock84@gmail.com> | 2024-04-06 08:30:31 +0200 |
commit | 8a3757ce0b63e842f1e466955f0a4cc2eed429eb (patch) | |
tree | 18f85251c9328a216c70b8d4b27ea150b4679a0c /plumbing/format/idxfile/encoder.go | |
parent | 7bd40f548987b3f0ce544902b9c4fbdf8d310882 (diff) | |
download | go-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/idxfile/encoder.go')
0 files changed, 0 insertions, 0 deletions