Skip to content

Initial work on pack index v3#1119

Merged
jelmer merged 1 commit into
masterfrom
pack-index-v3
Jun 19, 2025
Merged

Initial work on pack index v3#1119
jelmer merged 1 commit into
masterfrom
pack-index-v3

Conversation

@jelmer

@jelmer jelmer commented Jan 15, 2023

Copy link
Copy Markdown
Owner

Initial work on pack index v3

@jelmer jelmer force-pushed the master branch 2 times, most recently from f1ae053 to cd30df4 Compare October 16, 2024 12:55
@jelmer jelmer marked this pull request as ready for review June 19, 2025 22:53
@jelmer jelmer enabled auto-merge June 19, 2025 22:59
Pack index v3 adds support for variable hash sizes to enable future SHA-256
support. The key differences from v2 are:

- Hash algorithm identifier field (1 = SHA-1, 2 = SHA-256)
- Shortened OID length field for unambiguous prefixes
- Offsets calculated based on variable hash size

Note: SHA-256 support itself is not yet implemented and will raise
NotImplementedError.
@jelmer jelmer merged commit 22d6e37 into master Jun 19, 2025
25 checks passed
@jelmer jelmer deleted the pack-index-v3 branch June 19, 2025 23:35
github-actions Bot pushed a commit that referenced this pull request Jul 25, 2025
Initial work on pack index v3
jelmer added a commit that referenced this pull request Jan 8, 2026
Initial work on pack index v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant