Repository navigation
0.9.50 — mesh-sync packs the hub itself, in the foreground
·
101 commits
to a0eb60f6a0eb92b123df41525a47e0e61142bff9
since this release
mesh-syncpacks the hub itself, once a run, in the foreground. git packs after a commit,
a fetch or a merge, in a process it forks into the background. On macOS that process crashed
after the fork and left.git/gc.log.lock, and every background gc after it stopped on that
lock without a word: one hub went seven weeks unpacked, 86000 loose objects and 3.75 GiB, and
every run redid the part of gc that comes before the fork, once for each command that started
one. git's own gc is now off for the script's commands (maintenance.auto=false, read by git
2.31+), and onegit gc --autoruns after the push, its errors in the sync's log. A failed
push still packs. A foreground gc never takes the lock, so a hub that has one needs nothing
done to it; its first run packs the backlog, whichgit -C <hub> gcby hand does ahead of time.