aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/ci.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/ci.cxx b/bdep/ci.cxx
index b7fe2cf..081529a 100644
--- a/bdep/ci.cxx
+++ b/bdep/ci.cxx
@@ -99,7 +99,7 @@ namespace bdep
fail << "remote '" << *rem << "' is not a prefix for upstream "
<< "branch '" << s.upstream << "'";
- branch.assign (s.upstream, n + 1);
+ branch.assign (s.upstream, n + 1, string::npos);
}
// Note: not forcible (for now). While the use case is valid, the