Skip to content

Commit

Permalink
use old syntax so we don't need to version sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
airtonix committed Jun 19, 2024
1 parent f839f98 commit 2aa6b3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/asdf-plugin-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ checkout_plugin_ref() {
plugin_ref="${2}"
git_dir="${PLUGINS_REPOS_DIR}/${plugin_name}"

git -C "${git_dir}" checkout "${plugin_ref}"
git \
--git-dir "${git_dir}/.git" \
--work-tree "${git_dir}" \
checkout "${plugin_ref}"
}

list_plugins() {
Expand Down

0 comments on commit 2aa6b3e

Please sign in to comment.