Non-robust lock files in containers can lead to repo corruption

2019-08-10 Thread Gregory Szorc
I tracked down a source of Git corrupting repositories to lock file design not being robust when containers / PID namespaces are present. In my case, the corruption stemmed from premature release of the `git gc` lock in the gc.pid file. But since the lock file code for that file is in gc.c, there

Warnings in gc.log can prevent gc --auto from running

2019-07-25 Thread Gregory Szorc
to fire with the introduction of warning messages related to bitmap indices and again when bitmap indices were enabled by default for bare repositories in Git 2.22. Gregory Szorc gregory.sz...@gmail.com