From f783f38601964d2b9142a96a9c444004bbe817f8 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Fri, 10 Aug 2012 22:18:01 +0530 Subject: [PATCH] Comments and indentation. --- antigen.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antigen.zsh b/antigen.zsh index 44ede73..ee1bad9 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -204,9 +204,9 @@ antigen-update () { if [[ $url == *\|* ]]; then local current_branch=${$(--plugin-git symbolic-ref HEAD)##refs/heads/} local requested_branch="${url#*|}" - # Only do the checkout when we are not already on the branch + # Only do the checkout when we are not already on the branch. [[ $requested_branch != $current_branch ]] && - --plugin-git checkout $requested_branch + --plugin-git checkout $requested_branch fi if ! [[ -z $old_rev || $old_rev == $new_rev ]]; then -- 2.0.0