From acf830d519ba2b467f5eb0968b44a514b1b0e2b3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 10:27:26 +0200 Subject: Don't print pointless "fetching ..." line if fetching single repository --- bpkg/rep-fetch.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-fetch.hxx') diff --git a/bpkg/rep-fetch.hxx b/bpkg/rep-fetch.hxx index 18a50e9..89f4f2a 100644 --- a/bpkg/rep-fetch.hxx +++ b/bpkg/rep-fetch.hxx @@ -56,12 +56,15 @@ namespace bpkg // the configuration (see rep_remove_clean() for details). Note that it // should be called in session. // + // If reason is absent, then don't print the "fetching ..." progress line. + // void rep_fetch (const common_options&, const dir_path& conf, database&, const vector&, - bool shallow); + bool shallow, + const optional& reason); } #endif // BPKG_REP_FETCH_HXX -- cgit v1.1