diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-05 13:54:08 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-07-05 13:54:08 +0300 |
commit | dfcbb65ed9b65f392fc250cb91124e4793b49c14 (patch) | |
tree | b1babbf49d386b85a07e7743e973a2d9c63c6913 /libbpkg/manifest.hxx | |
parent | ac884344b24112b11cd6cad0a7cf41f036159a22 (diff) |
Guess repository type for relative locations and consider git type for all locations with .git extension
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r-- | libbpkg/manifest.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index fc6c332..59359b4 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -616,11 +616,12 @@ namespace bpkg // // 1. If scheme is git then git. // - // 2. If scheme is http(s), then check if path has the .git extension, - // then git, otherwise pkg. + // 2. If path has the .git extension then git. // - // 3. If local (which will normally be without the .git extension), check - // if directory contains the .git/ subdirectory then git, otherwise pkg. + // 3. If scheme is http(s) then pkg. + // + // 4. If local, check if directory contains the .git/ subdirectory then + // git, otherwise pkg. // // Can throw system_error in the later case. // |