~ruther/guix-local

7d1d1d1f7c470f47776eedd49a1d63ca54f33d45 — Rutherther a year ago b9e46d0
guix: update-cached-checkout: Fix fetching remote for branches, commits and tags.

Follow up of 66463356ce5868d3551ea7014acb34543972a5d8.

Because of the mentioned change, update-cached-checkout doesn't
update the checkout for branches, commits or tags.

This means `guix pull` with %default-channels no longer pulls
newer versions. `forward-update-check` no longer fetches the
commit to check relations for, leading to an error that
reference is not available.

* guix/git.scm (update-cached-checkout): Fetch remote even if symref-list is
empty.

Change-Id: Ia6bb1c669065cf19a6dd16c2a403e8590bc07613
1 files changed, 0 insertions(+), 1 deletions(-)

M guix/git.scm
M guix/git.scm => guix/git.scm +0 -1
@@ 596,7 596,6 @@ current settings unchanged."
     ;; When using symrefs, fetch remote again even if it has been cloned just
     ;; before as the requested reference are not fetched when cloning.
     (when (and cache-exists?
                (not (null? symref-list))
                (not (reference-available? repository ref)))
       (remote-fetch (remote-lookup repository "origin")
                     #:fetch-options (make-default-fetch-options