Bridging the gap: transitioning Git to SHA-256
summary
Git moves repository object IDs from SHA-1 to SHA-256 chosen for 128‑bit security and 64‑char IDs that fit 80‑column screens, with hardware and library support. Implementation uses a fixed 4‑byte algorithm ID, pack index v3, on‑the‑fly translation tables, and export/import instead of in‑place conversion. A four-stage transition (dark launch → output change → post transition) governs behavior; per‑repo algorithm support exists in a private branch, fast-import/export works for simple repos, and 15 pack series merged with ~25 total expected before full interoperability.
AI-written summary · about
