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.hxx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'bdep/git.hxx') diff --git a/bdep/git.hxx b/bdep/git.hxx index f56f38b..1552670 100644 --- a/bdep/git.hxx +++ b/bdep/git.hxx @@ -16,12 +16,26 @@ namespace bdep bool git (const dir_path&); + template + inline void + run_git (const dir_path& repo, A&&... args); + + template + inline process + start_git (I&& in, O&& out, E&& err, const dir_path& repo, A&&... args); + // Return the first line of the git output. If ignore_error is true, then - // suppress stderr, ignore (normal) error exist status, and return nullopt. + // suppress stderr, ignore (normal) error exit status, and return nullopt. // template optional git_line (const dir_path& repo, bool ignore_error, A&&... args); + + // Similar to the above but takes the already started git process with a + // redirected output pipe. + // + optional + git_line (process&& pr, fdpipe&& pipe, bool ignore_error = false); } #include -- cgit v1.1