summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.