This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7d1d1d1f7c guix: update-cached-checkout: Fix fetching remote for 
branches, commits and tags.
7d1d1d1f7c is described below

commit 7d1d1d1f7c470f47776eedd49a1d63ca54f33d45
Author: Rutherther <[email protected]>
AuthorDate: Tue Sep 23 17:59:02 2025 +0200

    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 f6543d5222..547585b27d 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

Reply via email to