diff options
Diffstat (limited to 'bpkg/fetch-git.cxx')
-rw-r--r-- | bpkg/fetch-git.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/fetch-git.cxx b/bpkg/fetch-git.cxx index 689a927..f0033fd 100644 --- a/bpkg/fetch-git.cxx +++ b/bpkg/fetch-git.cxx @@ -59,7 +59,7 @@ namespace bpkg case repository_protocol::git: { warn << "--fetch-timeout is not supported by the git protocol"; - break; + return strings (); } case repository_protocol::ssh: { @@ -74,7 +74,7 @@ namespace bpkg // can always specify the timeout in git or ssh configuration. // warn << "--fetch-timeout is not supported by the ssh protocol"; - break; + return strings (); } case repository_protocol::file: return strings (); // Local communications. } |