Browse Source

Merge pull request #2298 from gomoripeti/fix_git_subdir

Fix git_subdir after "revert change to lock for regular git resource"
pull/2302/head
Tristan Sloughter 4 years ago
committed by GitHub
parent
commit
f9d7ecf4a1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_git_subdir_resource.erl

+ 1
- 1
src/rebar_git_subdir_resource.erl View File

@ -22,7 +22,7 @@ init(Type, _State) ->
lock(AppInfo, _) -> lock(AppInfo, _) ->
{git_subdir, Url, Checkout, Dir} = rebar_app_info:source(AppInfo), {git_subdir, Url, Checkout, Dir} = rebar_app_info:source(AppInfo),
{git, Url1, {ref, Ref}, _Opts} =
{git, Url1, {ref, Ref}} =
rebar_git_resource:lock_(rebar_app_info:dir(AppInfo), {git, Url, Checkout}), rebar_git_resource:lock_(rebar_app_info:dir(AppInfo), {git, Url, Checkout}),
{git_subdir, Url1, {ref, Ref}, Dir}. {git_subdir, Url1, {ref, Ref}, Dir}.

Loading…
Cancel
Save