diff options
author | Adam Spiers <git@adamspiers.org> | 2013-01-06 15:35:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-06 12:57:56 -0800 |
commit | 5062f9e1b5072adad3b40f1f9f29338f8fdd301d (patch) | |
tree | 89612ef0e486ebfc6aa8688dd3c2fb864ee9a3e6 /credential.c | |
parent | Git 1.7.12 (diff) | |
download | tgif-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 'credential.c')
0 files changed, 0 insertions, 0 deletions