mirror of
https://github.com/therootcompany/golib.git
synced 2026-08-09 22:10:24 +00:00
- Default depth changed from 1 to 3: enough overlap for delta compression even if the remote pushes 2 commits between fetches - Keep --depth on fetch (not just clone) so shallow stays windowed - GCInterval default changed: 0 now means every fetch (was disabled) - GC sequence: reflog expire → prune → gc --prune=now Expire makes old shallow entries' objects unreachable, prune removes them cheaply (5MB RSS), then gc delta-compresses what remains (~10MB) - Only GC when HEAD actually changed (skip no-op fetches) - Dropped GCAggressive (no benefit in shallow clones)
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%