瀏覽代碼

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 年之前
committed by GitHub
父節點
當前提交
f9d7ecf4a1
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_git_subdir_resource.erl

+ 1
- 1
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}.

Loading…
取消
儲存