From 290e14798598922fbff7189f64f997bad35c4f84 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Tue, 9 Jul 2013 16:17:41 -0700 Subject: Add GIT_CAP_SSH if library was built with SSH This also adds a test that actually calls git_libgit2_capabilities and git_libgit2_version. --- include/git2/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/git2/common.h') diff --git a/include/git2/common.h b/include/git2/common.h index b52e13918..d7df7327e 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -105,7 +105,8 @@ GIT_EXTERN(void) git_libgit2_version(int *major, int *minor, int *rev); */ typedef enum { GIT_CAP_THREADS = ( 1 << 0 ), - GIT_CAP_HTTPS = ( 1 << 1 ) + GIT_CAP_HTTPS = ( 1 << 1 ), + GIT_CAP_SSH = ( 1 << 2 ), } git_cap_t; /** -- cgit v1.2.1