summaryrefslogtreecommitdiff
path: root/src/util/git2_features.h.in
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-02-24 00:30:50 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2023-04-11 10:18:16 +0100
commitf2723b28a45424e9b6933d65055f774cd7d5bfd1 (patch)
tree126bba8f1a7b180540b5e0da6a3837065b13fc05 /src/util/git2_features.h.in
parent275b0e23030a397427c9b6c6645473ef07b48351 (diff)
downloadlibgit2-f2723b28a45424e9b6933d65055f774cd7d5bfd1.tar.gz
ssh: GIT_SSH_LIBSSH2 is now distinct from GIT_SSH
We may want to support SSH but with a different provider that is not libssh2. Add GIT_SSH to indicate that we have some inbuilt SSH support and GIT_SSH_LIBSSH2 to indicate that support is via libssh2. This is similar to how we support GIT_HTTPS and GIT_OPENSSL, for example.
Diffstat (limited to 'src/util/git2_features.h.in')
-rw-r--r--src/util/git2_features.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/git2_features.h.in b/src/util/git2_features.h.in
index 1575be641..34d4186cb 100644
--- a/src/util/git2_features.h.in
+++ b/src/util/git2_features.h.in
@@ -29,7 +29,8 @@
#cmakedefine GIT_QSORT_S
#cmakedefine GIT_SSH 1
-#cmakedefine GIT_SSH_MEMORY_CREDENTIALS 1
+#cmakedefine GIT_SSH_LIBSSH2 1
+#cmakedefine GIT_SSH_LIBSSH2_MEMORY_CREDENTIALS 1
#cmakedefine GIT_NTLM 1
#cmakedefine GIT_GSSAPI 1