summaryrefslogtreecommitdiff
path: root/git-checkout-script
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-09-02 10:39:57 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-09-02 10:39:57 -0700
commit79882c2883267e16280d630730d6a8b5a86a8092 (patch)
tree6cc1a3286f2a0b3d4f38d38298a0ec85c397c860 /git-checkout-script
parentFix automerge message. (diff)
downloadtgif-79882c2883267e16280d630730d6a8b5a86a8092.tar.xz
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 <junkio@cox.net>
Diffstat (limited to 'git-checkout-script')
-rwxr-xr-xgit-checkout-script1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-checkout-script b/git-checkout-script
index 9feff149ac..b31ded716d 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