diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-10-20 18:07:58 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-11-22 16:51:47 +0100 |
commit | b150c546b04c9ebb09de9f2c39789221054f5eea (patch) | |
tree | 3eed516d23671da49b6e562cdf8bad905acb562c /guix/build/compile.scm | |
parent | 300e9ad43d1f7a10013aa0724ed3aeb7d93500c1 (diff) |
git: Shell out to ‘git gc’ when necessary.
Fixes <https://issues.guix.gnu.org/65720>.
This fixes a bug whereby libgit2-managed checkouts would keep growing as
we fetch.
* guix/git.scm (packs-in-git-repository, maybe-run-git-gc): New
procedures.
(update-cached-checkout): Use it.
Diffstat (limited to 'guix/build/compile.scm')
0 files changed, 0 insertions, 0 deletions