Skip to content

Commit

Permalink
[TEMP] debug about pull queue
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Apr 24, 2024
1 parent 9f5b988 commit d1737a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer/tue-install-impl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ function tue-install-git
tue-install-debug "git clone ${repo} ${target_dir} ${sparse_args[*]}"
res=$(git clone "${repo}" "${target_dir}" "${sparse_args[@]}" 2>&1)

tue-install-debug "Adding '${target_dir}' to the git pull queue after cloning"
TUE_INSTALL_GIT_PULL_Q+=("${target_dir}")
else
# Check if we have already pulled the repo
Expand All @@ -541,6 +542,7 @@ function tue-install-git
res=$(git -C "${target_dir}" pull --ff-only --prune 2>&1)
tue-install-debug "res: $res"

tue-install-debug "Adding '${target_dir}' to the git pull queue after pulling"
TUE_INSTALL_GIT_PULL_Q+=("${target_dir}")

if [ "$res" == "Already up to date." ]
Expand Down

0 comments on commit d1737a6

Please sign in to comment.