summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-01-23 14:43:02 -0500
committerFred Hebert <mononcqc@ferd.ca>2019-01-23 14:43:02 -0500
commitf52a115ea9d66c812f68200383d769ac300a2828 (patch)
treea21a1548ae5bbf2e260e44e927044624eadcd2cd /src
parent1542fbfc8214e5cf888f62fcccce558660e32f83 (diff)
Avoid linebreak on command line
Diffstat (limited to 'src')
-rw-r--r--src/rebar_git_resource.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_git_resource.erl b/src/rebar_git_resource.erl
index 7657699..c5031df 100644
--- a/src/rebar_git_resource.erl
+++ b/src/rebar_git_resource.erl
@@ -36,8 +36,8 @@ lock_(AppDir, {git, Url}) ->
{ok, VsnString} =
case os:type() of
{win32, _} ->
- rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git'
- --work-tree='" ++ Dir ++ "' rev-parse --verify HEAD",
+ rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' "
+ "--work-tree='" ++ Dir ++ "' rev-parse --verify HEAD",
[{use_stdout, false}, {debug_abort_on_error, AbortMsg}]);
_ ->
rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' rev-parse --verify HEAD",