Code

git-checkout-script: Remove unnecessary variable.
authorJunio C Hamano <junkio@cox.net>
Fri, 2 Sep 2005 17:39:57 +0000 (10:39 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 2 Sep 2005 17:39:57 +0000 (10:39 -0700)
There was unused variable $i that counted the number of arguments
being processed.  Remove it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout-script

index 9feff149acc87326e13f96db17257235e78c42db..b31ded716d470a4975512ebc4cb912b3adb5fb7f 100755 (executable)
@@ -37,7 +37,6 @@ while [ "$#" != "0" ]; do
                fi
                ;;
     esac
-    i=$(($i+1))
 done
 [ -z "$new" ] && new=$old