From 7d1d1d1f7c470f47776eedd49a1d63ca54f33d45 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Tue, 23 Sep 2025 17:59:02 +0200 Subject: [PATCH] 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 --- guix/git.scm | 1 - 1 file changed, 1 deletion(-) diff --git a/guix/git.scm b/guix/git.scm index f6543d5222d..547585b27d3 100644 --- a/guix/git.scm +++ b/guix/git.scm @@ -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