summary refs log tree commit diff
path: root/nix/libstore/worker-protocol.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-21 15:25:57 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-21 23:09:16 +0100
commitfe9b3ec3ee208c5bac7844f3d0fecce2c6b1297d (patch)
treef934d66394478fc7e25c5830ac08babaa03a3a11 /nix/libstore/worker-protocol.hh
parenta6591381fc1f5e1890efb8270a3671062249c2bc (diff)
downloadguix-fe9b3ec3ee208c5bac7844f3d0fecce2c6b1297d.tar.gz
git: Do not add '.git' to the store.
This makes 'latest-repository-commit' significantly more efficient and
reduces disk usage in the store.

* guix/git.scm (copy-to-store)[dot-git?]: New procedure.
Pass it as the #:select? argument to 'add-to-store'.
Diffstat (limited to 'nix/libstore/worker-protocol.hh')
0 files changed, 0 insertions, 0 deletions