aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
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);