guix hash: Allow '--exclude-vcs' option using 'git' serializer.
authorzimoun <zimon.toutoune@gmail.com>
Tue, 4 Jan 2022 20:47:15 +0000 (21:47 +0100)
committerTimothy Sample <samplet@ngyro.com>
Wed, 5 Jan 2022 01:37:29 +0000 (20:37 -0500)
commit8646f1f7a53d28f305f30420ad23b670159c53a9
tree7e760bb01258976cb9bab9d6b2781a28f2159220
parente675030fba924a1aef2677f8ab912eaa3c46403c
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>
guix/scripts/hash.scm
tests/guix-hash.sh