diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-09-22 12:15:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-27 10:45:29 -0700 |
commit | 055467dd4ae7fac2cf3149352710a5ee64b2138c (patch) | |
tree | 1964b9f2d099b426d68bad774e9ceb71cc8c23e4 /test-index-version.c | |
parent | t1503: Fix arithmetic expansion syntax error when using dash (diff) | |
download | tgif-055467dd4ae7fac2cf3149352710a5ee64b2138c.tar.xz |
CodingGuidelines: spell Arithmetic Expansion with $(($var))
POSIX wants shells to support both "N" and "$N" and requires them to yield
the same answer to $((N)) and $(($N)), but we should aim for portability
in a case like this, especially when the price we pay to do so is so
small, i.e. a few extra dollars.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-index-version.c')
0 files changed, 0 insertions, 0 deletions