summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-09 16:17:41 -0700
committerRussell Belfer <rb@github.com>2013-07-09 16:17:41 -0700
commit290e14798598922fbff7189f64f997bad35c4f84 (patch)
treef9f8c043bafd953f01885bf1efd51f5165b77e0f /include/git2/common.h
parenta4456929a8890a9ac1441db343c21040665ce253 (diff)
downloadlibgit2-290e14798598922fbff7189f64f997bad35c4f84.tar.gz
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.
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h3
1 files changed, 2 insertions, 1 deletions
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;
/**