summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2022-01-04 21:47:15 +0100
committerTimothy Sample <samplet@ngyro.com>2022-01-04 20:37:29 -0500
commit8646f1f7a53d28f305f30420ad23b670159c53a9 (patch)
tree7e760bb01258976cb9bab9d6b2781a28f2159220 /guix/scripts
parente675030fba924a1aef2677f8ab912eaa3c46403c (diff)
guix hash: Allow '--exclude-vcs' option using 'git' serializer.
* guix/scripts/hash.scm (git-hash): Use '#:select?' with 'git-hash-directory'. * tests/guix-hash.sh: Adjust accordingly. Signed-off-by: Timothy Sample <samplet@ngyro.com>
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/hash.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/hash.scm b/guix/scripts/hash.scm
index d73e3d13dd..c44a4de9a4 100644
--- a/guix/scripts/hash.scm
+++ b/guix/scripts/hash.scm
@@ -69,7 +69,7 @@
((directory) #t)
(else #f)))
(if directory?
- (git-hash-directory file algorithm)
+ (git-hash-directory file algorithm #:select? select?)
(git-hash-file file algorithm)))