You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reject invalid pack entry header metadata
The pack entry decoder stored the consumed header length with an infallible u16
conversion and accepted ref-delta hash lengths through panic-capable slice and
ObjectId conversions. Malformed or unsupported metadata should become decode
errors instead of process panics.
New Features (BREAKING)
make pack compression levels configurable
Require explicit compression levels when creating pack entries and expose compression in bundle-writing options. Defaults match git: the zlib default for pack entries and the fastest level when completing thin packs with loose-object data.
Bug Fixes (BREAKING)
prevent panics when decoding malformed pack entry headers
Represent the pack entry object hash as gix_hash::Kind in Entry::from_bytes() instead of accepting a raw hash length. This keeps callers
from passing unsupported or inconsistent hash lengths and lets the decoder derive
the ref-delta base id length from the selected object format.