git: Fix typo in reference-available? comment.

* guix/git.scm (reference-available?): Fix typo.
This commit is contained in:
Maxim Cournoyer 2023-09-05 23:04:26 -04:00
parent c3d48d024b
commit a87d722570
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -363,8 +363,8 @@ (define (reference-available? repository ref)
;; Note: this must not rely on 'resolve-reference', as that procedure always
;; resolves the references for branch names such as master. The semantic we
;; want here is that unless the reference is exact (e.g. a commit), the
;; reference should not be considered available, has it could have changed
;; on the remote.
;; reference should not be considered available, as it could have changed on
;; the remote.
(match ref
((or ('commit . commit)
('tag-or-commit . (? commit-id? commit)))