git: Restore 'false-if-git-not-found' in 'reference-available?'.
* guix/git/scm (reference-available?): Add 'false-if-git-not-found' for the case 'commit.
parent
be5bec47f7
commit
94f3831e5b
|
@ -364,7 +364,8 @@ definitely available in REPOSITORY, false otherwise."
|
|||
(match ref
|
||||
(('commit . (? commit-id? commit))
|
||||
(let ((oid (string->oid commit)))
|
||||
(->bool (commit-lookup repository oid))))
|
||||
(false-if-git-not-found
|
||||
(->bool (commit-lookup repository oid)))))
|
||||
((or ('tag . str)
|
||||
('tag-or-commit . str))
|
||||
(false-if-git-not-found
|
||||
|
|
Reference in New Issue