aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.hxx
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/rep-fetch.hxx
parentc6196464780fbdb1a2dbdda92061189395e5072e (diff)
Don't print pointless "fetching ..." line if fetching single repository
Diffstat (limited to 'bpkg/rep-fetch.hxx')
-rw-r--r--bpkg/rep-fetch.hxx5
1 files changed, 4 insertions, 1 deletions
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<repository_location>&,
- bool shallow);
+ bool shallow,
+ const optional<string>& reason);
}
#endif // BPKG_REP_FETCH_HXX