From 3b064176e467f690a94544d511be2fe57a8f48c4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 7 Nov 2018 21:27:36 +0300 Subject: Add support for ssh:// git protocol --- libbpkg/manifest.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbpkg/manifest.hxx') 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. -- cgit v1.1