From bf94db70c19516d4991b665de4f5ce9149a4983f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= Date: Mon, 1 Jun 2020 12:58:25 +0200 Subject: [PATCH] Fix git_subdir after "revert change to lock for regular git resource" Commit 029cbcc7 changed the return value of `rebar_git_resource:lock_/2` --- src/rebar_git_subdir_resource.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_git_subdir_resource.erl b/src/rebar_git_subdir_resource.erl index 65c588d8..80d3c906 100644 --- a/src/rebar_git_subdir_resource.erl +++ b/src/rebar_git_subdir_resource.erl @@ -22,7 +22,7 @@ init(Type, _State) -> lock(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}), {git_subdir, Url1, {ref, Ref}, Dir}.