mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
git: Remove compatibility shim for Guile-Git <= 0.5.2.
Guile-Git 0.5.2 was released in July 2021. * guix/git.scm (GITERR_HTTP): Remove. Change-Id: I05b2ee36f786bd83ca91c8989912f83f6dde59c0
This commit is contained in:
@@ -206,13 +206,6 @@ to verify X.509 host certificates."
|
|||||||
warn-for-invalid-certificate)))
|
warn-for-invalid-certificate)))
|
||||||
options))
|
options))
|
||||||
|
|
||||||
(define GITERR_HTTP
|
|
||||||
;; Guile-Git <= 0.5.2 lacks this constant.
|
|
||||||
(let ((errors (resolve-interface '(git errors))))
|
|
||||||
(if (module-defined? errors 'GITERR_HTTP)
|
|
||||||
(module-ref errors 'GITERR_HTTP)
|
|
||||||
34)))
|
|
||||||
|
|
||||||
(define (set-git-timeouts connection-timeout read-timeout)
|
(define (set-git-timeouts connection-timeout read-timeout)
|
||||||
"Instruct Guile-Git to honor the given CONNECTION-TIMEOUT and READ-TIMEOUT
|
"Instruct Guile-Git to honor the given CONNECTION-TIMEOUT and READ-TIMEOUT
|
||||||
when talking to remote Git servers.
|
when talking to remote Git servers.
|
||||||
|
|||||||
Reference in New Issue
Block a user