summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'git.go')
-rw-r--r--git.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/git.go b/git.go
index 9ad1ffc..62cf5d9 100644
--- a/git.go
+++ b/git.go
@@ -161,6 +161,11 @@ func initLibGit2() {
// they're the only ones setting it up.
C.git_openssl_set_locking()
}
+ if features&FeatureSSH == 0 {
+ if err := registerManagedSSH(); err != nil {
+ panic(err)
+ }
+ }
}
// Shutdown frees all the resources acquired by libgit2. Make sure no