diff options
author | Russell Belfer <rb@github.com> | 2013-07-09 16:17:41 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-07-09 16:17:41 -0700 |
commit | 290e14798598922fbff7189f64f997bad35c4f84 (patch) | |
tree | f9f8c043bafd953f01885bf1efd51f5165b77e0f /include/git2/common.h | |
parent | a4456929a8890a9ac1441db343c21040665ce253 (diff) | |
download | libgit2-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.h | 3 |
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; /** |