Skip to content

Commit

Permalink
Merge pull request zplug#219 from shvenkat/no-shallow-clone-with-at-tag
Browse files Browse the repository at this point in the history
Do a deep clone if the 'at' tag is used
  • Loading branch information
b4b4r07 authored Aug 5, 2016
2 parents 07ede2f + bb5f4eb commit 305b88c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/utils/__clone__
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 305b88c

Please sign in to comment.