summaryrefslogtreecommitdiff
path: root/test-index-version.c
diff options
context:
space:
mode:
authorLibravatar Adam Spiers <git@adamspiers.org>2013-01-06 15:35:05 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-06 12:57:56 -0800
commit5062f9e1b5072adad3b40f1f9f29338f8fdd301d (patch)
tree89612ef0e486ebfc6aa8688dd3c2fb864ee9a3e6 /test-index-version.c
parentGit 1.7.12 (diff)
downloadtgif-5062f9e1b5072adad3b40f1f9f29338f8fdd301d.tar.xz
api-allocation-growing.txt: encourage better variable naming
The documentation for the ALLOC_GROW API implicitly encouraged developers to use "ary" as the variable name for the array which is dynamically grown. However "ary" is an unusual abbreviation hardly used anywhere else in the source tree, and it is also better to name variables based on their contents not on their type. Signed-off-by: Adam Spiers <git@adamspiers.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-index-version.c')
0 files changed, 0 insertions, 0 deletions