aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-14 14:58:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-14 14:58:54 +0200
commitb44b4088f48a27bff88f8f010b8cd42303cbdad0 (patch)
tree46c08c1f48a81c3a4dc4c6c59be300e5e40e6762 /bdep/sync.hxx
parent7acf8ce6111e3740decd39b92c3383fcbdd00e21 (diff)
Implement --fetch|-f and --fetch-full|-F in sync command
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index e1fa7fb..741e519 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -13,10 +13,14 @@
namespace bdep
{
+ // If fetch is false, don't perform a (shallow) fetch of the project
+ // repository.
+ //
void
cmd_sync (const common_options&,
const dir_path& prj,
- const shared_ptr<configuration>&);
+ const shared_ptr<configuration>&,
+ bool fetch = true);
int
cmd_sync (const cmd_sync_options&, cli::scanner& args);