Skip to content

Commit

Permalink
Do a deep clone if the 'at' tag is used
Browse files Browse the repository at this point in the history
  • Loading branch information
shvenkat committed Jul 28, 2016
1 parent 07ede2f commit bb5f4eb
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 bb5f4eb

Please sign in to comment.