summaryrefslogtreecommitdiff
path: root/sha1-array.h
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2013-01-06 15:35:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-01-06 20:57:56 (GMT)
commit5062f9e1b5072adad3b40f1f9f29338f8fdd301d (patch)
tree89612ef0e486ebfc6aa8688dd3c2fb864ee9a3e6 /sha1-array.h
parent889d35899ba64640e47798681ecb34a4be043bad (diff)
downloadgit-5062f9e1b5072adad3b40f1f9f29338f8fdd301d.zip
git-5062f9e1b5072adad3b40f1f9f29338f8fdd301d.tar.gz
git-5062f9e1b5072adad3b40f1f9f29338f8fdd301d.tar.bz2
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 'sha1-array.h')
0 files changed, 0 insertions, 0 deletions