[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: import: elpa: Don't hardcode default branch to 'master'.
From: |
guix-commits |
Subject: |
09/09: import: elpa: Don't hardcode default branch to 'master'. |
Date: |
Fri, 10 Sep 2021 11:31:27 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 9875f9bca3976bf3576eab9be42164fde454597e
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Mon Sep 6 12:57:04 2021 +0200
import: elpa: Don't hardcode default branch to 'master'.
Otherwise, remotes without a branch named 'master' will cause an error when
importing.
* guix/import/elpa (git-repository->origin): Fallback to HEAD instead of the
'master' branch.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
guix/import/elpa.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm
index fb59acc..96ebc17 100644
--- a/guix/import/elpa.scm
+++ b/guix/import/elpa.scm
@@ -259,7 +259,7 @@ RECIPE."
((assoc-ref recipe #:commit)
=> (lambda (commit) (cons 'commit commit)))
(else
- '(branch . "master"))))
+ '())))
(let-values (((directory commit) (download-git-repository url ref)))
`(origin
- branch master updated (eb31966 -> 9875f9b), guix-commits, 2021/09/10
- 02/09: base16: Reduce GC pressure in bytevector->base16-string., guix-commits, 2021/09/10
- 01/09: gnu: llvm-for-rocm: Move to llvm.scm., guix-commits, 2021/09/10
- 04/09: lint: archival: Warn about non-origin sources., guix-commits, 2021/09/10
- 05/09: swh: Adjust to new vault API., guix-commits, 2021/09/10
- 03/09: base32: Provide an open-coded 'bit-field'., guix-commits, 2021/09/10
- 06/09: swh: 'swh-download' reports revision lookup failures., guix-commits, 2021/09/10
- 07/09: gnu: racket: fix `raco exe` with non-minimal Racket, guix-commits, 2021/09/10
- 08/09: gnu: racket: suppress build stamp, guix-commits, 2021/09/10
- 09/09: import: elpa: Don't hardcode default branch to 'master'.,
guix-commits <=