summaryrefslogtreecommitdiff
path: root/guix/channels.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-05 23:31:51 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-05 23:50:38 +0200
commit37a6cdbf1b3503d3e60840a176318284b1f7ca25 (patch)
tree9fbc665f6449d848e7be56cb5996eb3b2b8ff77c /guix/channels.scm
parentcb341c121919877ae6267a6460c0c17536d06eff (diff)
downloadpatches-37a6cdbf1b3503d3e60840a176318284b1f7ca25.tar
patches-37a6cdbf1b3503d3e60840a176318284b1f7ca25.tar.gz
git: Don't require users to specifiy "origin/" for branches.
Fixes <https://bugs.gnu.org/32618>. Reported by Eric Brown <brown@fastmail.com>. * guix/git.scm (update-cached-checkout): Remove "origin/" from default REF. Define CANONICAL-REF and use it instead of REF. (latest-repository-commit): Remove "origin/" from default REF. * guix/channels.scm (%default-channels): Remove "origin/" from 'branch'.
Diffstat (limited to 'guix/channels.scm')
-rw-r--r--guix/channels.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/channels.scm b/guix/channels.scm
index ebae7489f4..cf833db8b9 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -78,7 +78,7 @@
;; Default list of channels.
(list (channel
(name 'guix)
- (branch "origin/master")
+ (branch "master")
(url "https://git.savannah.gnu.org/git/guix.git"))))
(define (guix-channel? channel)