From: Junio C Hamano Date: Fri, 2 Sep 2005 17:39:57 +0000 (-0700) Subject: git-checkout-script: Remove unnecessary variable. X-Git-Tag: v0.99.6~29 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=79882c2883267e16280d630730d6a8b5a86a8092;hp=06ec2b4bb4ab9096d1304ba5a2ec388078dcdf7f;p=git.git git-checkout-script: Remove unnecessary variable. There was unused variable $i that counted the number of arguments being processed. Remove it. Signed-off-by: Junio C Hamano --- diff --git a/git-checkout-script b/git-checkout-script index 9feff149..b31ded71 100755 --- a/git-checkout-script +++ b/git-checkout-script @@ -37,7 +37,6 @@ while [ "$#" != "0" ]; do fi ;; esac - i=$(($i+1)) done [ -z "$new" ] && new=$old