Code

git-filter-branch: avoid collisions with variables in eval'ed commands
authorElijah Newren <newren@gmail.com>
Wed, 25 Mar 2009 21:51:01 +0000 (15:51 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2009 23:35:52 +0000 (16:35 -0700)
commitd5b0c97d138201c59b30cb759cedabb70b7bae81
tree9bfaff822c4290edbec807341e04e0253a4c9b7d
parent8befac5d6f9e994d72efb1ecc59c356414114e7e
git-filter-branch: avoid collisions with variables in eval'ed commands

Avoid using simple variable names like 'i', since user commands are eval'ed
and may clash with and overwrite our values.

Signed-off-by: Elijah Newren <newren@gmail.com>
Acked-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-filter-branch.sh