completion: normalize increment/decrement style
commit6e8c755fd3fd2efab0e2dcdc16c8a17a61efa760
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 22 Feb 2012 08:58:11 +0000 (22 09:58 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Feb 2012 21:59:58 +0000 (22 13:59 -0800)
treed4b3092372f2c0d84584e841d6ece1de221f9b37
parentf1c6ffe684464e7f8765030b226be108cb9c2d53
completion: normalize increment/decrement style

The style used for incrementing and decrementing variables was fairly
inconsistenty and was normalized to use x++, or ((x++)) in contexts
where the former would otherwise be interpreted as a command. This is a
bash-ism, but for obvious reasons this script is already bash-specific.

Signed-off-by: Philip Jägenstedt <philip@foolip.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash