commit | 5062f9e1b5072adad3b40f1f9f29338f8fdd301d | [log] [tgz] |
---|---|---|
author | Adam Spiers <git@adamspiers.org> | Sun Jan 06 15:35:05 2013 +0000 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Jan 06 12:57:56 2013 -0800 |
tree | 89612ef0e486ebfc6aa8688dd3c2fb864ee9a3e6 | |
parent | 889d35899ba64640e47798681ecb34a4be043bad [diff] |
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>