From bb5f4eb7b8b2c7b0d7449578f8b59940f45e2220 Mon Sep 17 00:00:00 2001 From: Shiv Date: Thu, 28 Jul 2016 15:18:12 -0700 Subject: [PATCH] Do a deep clone if the 'at' tag is used --- autoload/utils/__clone__ | 4 ++++ 1 file changed, 4 insertions(+) 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"