aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-04-17 18:46:49 +0200
committerLudovic Courtès <ludo@gnu.org>2025-04-23 12:25:45 +0200
commit182e76d1a948a4284132f2e33d4cbd015e2dbb89 (patch)
tree2acee232404be8cbc64c61e79610ba29574c9aeb
parentee6d2a77a3f07c4b81fd31bc7aa5d07accc317bd (diff)
downloadguix-182e76d1a948a4284132f2e33d4cbd015e2dbb89.tar.gz
guix-182e76d1a948a4284132f2e33d4cbd015e2dbb89.zip
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
-rw-r--r--guix/git.scm7
1 files changed, 0 insertions, 7 deletions
diff --git a/guix/git.scm b/guix/git.scm
index 1065479091..da0a668587 100644
--- a/guix/git.scm
+++ b/guix/git.scm
@@ -206,13 +206,6 @@ to verify X.509 host certificates."
warn-for-invalid-certificate)))
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)
"Instruct Guile-Git to honor the given CONNECTION-TIMEOUT and READ-TIMEOUT
when talking to remote Git servers.