diff options
author | Marius Bakke <marius@gnu.org> | 2020-06-11 23:30:32 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-06-11 23:30:32 +0200 |
commit | 9b043df7403a10b35b93d133aac796fd277a7339 (patch) | |
tree | f712922d9348ececc0d84e360ac653df3b8d2473 /guix/git-authenticate.scm | |
parent | d79ec4fd343bc2a72652aa3a4b4ae14bd8df88ac (diff) | |
parent | 648ae62112f62bc2106fb36d45c83fda787d3bed (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'guix/git-authenticate.scm')
-rw-r--r-- | guix/git-authenticate.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/guix/git-authenticate.scm b/guix/git-authenticate.scm index 00d22ef479..c333717136 100644 --- a/guix/git-authenticate.scm +++ b/guix/git-authenticate.scm @@ -184,8 +184,11 @@ to remove '.guix-authorizations' file") default-authorizations) (throw key error))))) - (apply lset-intersection bytevector=? - (map commit-authorizations (commit-parents commit)))) + (match (commit-parents commit) + (() default-authorizations) + (parents + (apply lset-intersection bytevector=? + (map commit-authorizations parents))))) (define* (authenticate-commit repository commit keyring #:key (default-authorizations '())) |