aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-02 10:39:57 -0700
committerJunio C Hamano <junkio@cox.net>2005-09-02 10:39:57 -0700
commit79882c2883267e16280d630730d6a8b5a86a8092 (patch)
tree6cc1a3286f2a0b3d4f38d38298a0ec85c397c860
parent06ec2b4bb4ab9096d1304ba5a2ec388078dcdf7f (diff)
downloadgit-79882c2883267e16280d630730d6a8b5a86a8092.tar.gz
git-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>
-rwxr-xr-xgit-checkout-script1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-checkout-script b/git-checkout-script
index 9feff149a..b31ded716 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