Browse Source

Avoid linebreak on command line

pull/2001/head
Fred Hebert 6 years ago
parent
commit
f52a115ea9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_git_resource.erl

+ 2
- 2
src/rebar_git_resource.erl View File

@ -36,8 +36,8 @@ lock_(AppDir, {git, Url}) ->
{ok, VsnString} = {ok, VsnString} =
case os:type() of case os:type() of
{win32, _} -> {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}]); [{use_stdout, false}, {debug_abort_on_error, AbortMsg}]);
_ -> _ ->
rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' rev-parse --verify HEAD", rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' rev-parse --verify HEAD",

Loading…
Cancel
Save