projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ec2b4
)
git-checkout-script: Remove unnecessary variable.
author
Junio C Hamano
<junkio@cox.net>
Fri, 2 Sep 2005 17:39:57 +0000
(10:39 -0700)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/git-checkout-script
b/git-checkout-script
index 9feff149acc87326e13f96db17257235e78c42db..b31ded716d470a4975512ebc4cb912b3adb5fb7f 100755
(executable)
--- 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