From 40273d053e3024dc5c9acd063882a848358df4fa Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 4 Aug 2018 16:13:29 +0300 Subject: Add archive checksum files to build2-control branch in bdep-publish --- bdep/git.ixx | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'bdep/git.ixx') diff --git a/bdep/git.ixx b/bdep/git.ixx index 0ee94ac..e71375a 100644 --- a/bdep/git.ixx +++ b/bdep/git.ixx @@ -6,8 +6,24 @@ using namespace butl; namespace bdep { - optional - git_line (process&&, fdpipe&&, bool); + template + inline void + run_git (const dir_path& repo, A&&... args) + { + return run ("git", "-C", repo, forward (args)...); + } + + template + inline process + start_git (I&& in, O&& out, E&& err, const dir_path& repo, A&&... args) + { + return start (forward (in), + forward (out), + forward (err), + "git", + "-C", repo, + forward (args)...); + } template inline optional -- cgit v1.1