1
0
Fork 0
mirror of https://github.com/imjasonh/infinite-git synced 2026-07-08 09:05:06 +00:00
infinite-git/internal
Claude 29666530cc
Fix four bugs: packfile offset tracking, HTTP error ordering, ref ordering, and race condition
- packfile.go: ReadObject now uses a countingReader to track compressed
  bytes consumed and properly advances r.offset, fixing sequential
  multi-object reads.
- handlers.go: Use commitSHA from GenerateCommit directly instead of
  re-reading refs, which fixes both the HTTP error-after-body-written
  issue and ensures HEAD is always advertised first (Git protocol
  requirement).
- commit.go: GenerateCommit now holds the repo lock for the entire
  read-modify-write cycle, preventing concurrent generates from reading
  the same parent and losing ref updates.
- repo.go: Added Lock/Unlock/GetRefsLocked methods to support holding
  the mutex across multiple repo operations.

https://claude.ai/code/session_015F9BYQoCy2P2zYZBuVeXHH
2026-04-02 05:52:24 +00:00
..
generator Fix four bugs: packfile offset tracking, HTTP error ordering, ref ordering, and race condition 2026-04-02 05:52:24 +00:00
object Implement infinite Git HTTP server 2025-07-23 21:19:02 -04:00
packfile Fix four bugs: packfile offset tracking, HTTP error ordering, ref ordering, and race condition 2026-04-02 05:52:24 +00:00
pktline Implement infinite Git HTTP server 2025-07-23 21:19:02 -04:00
protocol Implement pure Go Git HTTP server without CLI dependencies 2025-07-23 22:28:50 -04:00
repo Fix four bugs: packfile offset tracking, HTTP error ordering, ref ordering, and race condition 2026-04-02 05:52:24 +00:00
server Fix four bugs: packfile offset tracking, HTTP error ordering, ref ordering, and race condition 2026-04-02 05:52:24 +00:00