aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-07 21:27:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-08 16:32:56 +0300
commit3b064176e467f690a94544d511be2fe57a8f48c4 (patch)
tree8dc3a275b1a41bf27e36ca516d3c4189206e34f8 /libbpkg/manifest.hxx
parent66931be8c547d99a5d5ca679d39694669d6e13b9 (diff)
Add support for ssh:// git protocol
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index b9e7f92..a017772 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -613,7 +613,7 @@ namespace bpkg
// Traits class for the repository URL object.
//
- enum class repository_protocol {file, http, https, git};
+ enum class repository_protocol {file, http, https, git, ssh};
struct LIBBPKG_EXPORT repository_url_traits
{
@@ -704,7 +704,7 @@ namespace bpkg
//
// 2. If path has the .git extension then git.
//
- // 3. If scheme is http(s) then pkg.
+ // 3. If scheme is http(s) or ssh then pkg.
//
// 4. If local, check if directory contains the .git/ subdirectory then
// git, otherwise pkg.