diff --git a/autoload/utils/__clone__ b/autoload/utils/__clone__ index 8286f59a..4d69e672 100644 --- a/autoload/utils/__clone__ +++ b/autoload/utils/__clone__ @@ -59,6 +59,10 @@ do shift done +# If an 'at' tag has been specified, do a deep clone to allow any commit to be +# checked out. +[[ -n "$tag_at" ]] && depth_option="" + # Initialize { [[ -d $ZPLUG_REPOS ]] || mkdir -p "$ZPLUG_REPOS"