From b44b4088f48a27bff88f8f010b8cd42303cbdad0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 14:58:54 +0200 Subject: Implement --fetch|-f and --fetch-full|-F in sync command --- bdep/sync.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bdep/sync.hxx') 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&); + const shared_ptr&, + bool fetch = true); int cmd_sync (const cmd_sync_options&, cli::scanner& args); -- cgit v1.1