api-allocation-growing.txt: encourage better variable naming
authorAdam Spiers <git@adamspiers.org>
Sun, 6 Jan 2013 15:35:05 +0000 (15:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Jan 2013 20:57:56 +0000 (12:57 -0800)
commit5062f9e1b5072adad3b40f1f9f29338f8fdd301d
tree89612ef0e486ebfc6aa8688dd3c2fb864ee9a3e6
parent889d35899ba64640e47798681ecb34a4be043bad
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>
Documentation/technical/api-allocation-growing.txt