From bf02b66c61d941a60e45520ef77f677dad36557e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 10 Apr 2019 22:56:22 +0300 Subject: Add --amend and --squash options to bdep-release --- bdep/git.ixx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'bdep/git.ixx') diff --git a/bdep/git.ixx b/bdep/git.ixx index dbc43cb..f06a000 100644 --- a/bdep/git.ixx +++ b/bdep/git.ixx @@ -35,4 +35,23 @@ namespace bdep "-C", repo, forward (args)...); } + + template + inline optional + git_string (const semantic_version& min_ver, + const dir_path& repo, + bool ie, + A&&... args) + { + return git_string (min_ver, + ie, + "-C", repo, + forward (args)...); + } + + inline optional + git_string (process&& pr, fdpipe&& pipe, bool ignore_error) + { + return git_line (move (pr), move (pipe), ignore_error, '\0' /* delim */); + } } -- cgit v1.1