aboutsummaryrefslogtreecommitdiff
path: root/bdep/git.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-22 22:18:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-29 15:01:07 +0300
commitb937ec2bf461ec06bf601e854f694e86060eba59 (patch)
tree133cbb173399bddce1b35041cccd1ec67cd46deb /bdep/git.ixx
parent39f6d06c729fc1b1ffdeda67daa0ddc1d6baadb0 (diff)
Use system git rather than bundled one for some operations on Windows
Diffstat (limited to 'bdep/git.ixx')
-rw-r--r--bdep/git.ixx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/git.ixx b/bdep/git.ixx
index 8289544..2913cc6 100644
--- a/bdep/git.ixx
+++ b/bdep/git.ixx
@@ -6,11 +6,13 @@ namespace bdep
template <typename I, typename O, typename E, typename... A>
inline process
start_git (const semantic_version& min_ver,
+ bool system,
const dir_path& repo,
I&& in, O&& out, E&& err,
A&&... args)
{
return start_git (min_ver,
+ system,
forward<I> (in), forward<O> (out), forward<E> (err),
"-C", repo,
forward<A> (args)...);
@@ -25,11 +27,13 @@ namespace bdep
template <typename... A>
inline optional<string>
git_line (const semantic_version& min_ver,
+ bool system,
const dir_path& repo,
bool ie,
A&&... args)
{
return git_line (min_ver,
+ system,
ie,
"-C", repo,
forward<A> (args)...);
@@ -38,11 +42,13 @@ namespace bdep
template <typename... A>
inline optional<string>
git_string (const semantic_version& min_ver,
+ bool system,
const dir_path& repo,
bool ie,
A&&... args)
{
return git_string (min_ver,
+ system,
ie,
"-C", repo,
forward<A> (args)...);