Skip to content

Commit

Permalink
(tue-install-git) git checkout --recurse-submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Sep 5, 2023
1 parent 9871a02 commit a7d0f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/tue-install-impl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ function _try_branch_git
local repo branch _checkout_error_code
repo="$1"
branch="$2"
tue-install-debug "git -C $repo checkout $branch --"
_try_branch_res=$(git -C "$repo" checkout "$branch" -- 2>&1) # _try_branch_res is a "global" variable from tue-install-git
tue-install-debug "git -C ${repo} checkout ${branch} --recurse-submodules --"
_try_branch_res=$(git -C "${repo}" checkout "${branch}" --recurse-submodules -- 2>&1) # _try_branch_res is a "global" variable from tue-install-git
_checkout_error_code=$?
tue-install-debug "_try_branch_res(${_checkout_error_code}): ${_try_branch_res}"

Expand Down

0 comments on commit a7d0f9c

Please sign in to comment.