]> git.ipfire.org Git - thirdparty/git.git/commit - git-filter-branch.sh
filter-branch: use $(($i+1)) instead of $((i+1))
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 6 Jun 2007 15:24:07 +0000 (16:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jun 2007 19:31:56 +0000 (12:31 -0700)
commitc12764b8b7e004f84b1e685b76f2d662bee8e196
tree5b5e2ea7322c8598ca596cfda0e43fcedb80402c
parentd674ee4cfcfc15cdee07c49d7f36656fe6c3e14d
filter-branch: use $(($i+1)) instead of $((i+1))

The expression $((i+1)) is not portable at all: even some bash versions
do not grok it. So do not use it.

Noticed by Jonas Fonseca.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh