aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-14 10:27:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-14 10:27:26 +0200
commitacf830d519ba2b467f5eb0968b44a514b1b0e2b3 (patch)
tree1beeb4df539ec81a4fb1fde6d2af8263926854ff /bpkg/pkg-build.cxx
parentc6196464780fbdb1a2dbdda92061189395e5072e (diff)
Don't print pointless "fetching ..." line if fetching single repository
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index a8e90aa..28105d4 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -1196,7 +1196,12 @@ namespace bpkg
}
if (!locations.empty ())
- rep_fetch (o, c, db, locations, o.fetch_shallow ());
+ rep_fetch (o,
+ c,
+ db,
+ locations,
+ o.fetch_shallow (),
+ string () /* reason for "fetching ..." */);
// Expand <packages>@<location> arguments.
//