diff options
author | Matthew DeVore <matvore@google.com> | 2019-06-27 15:54:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-28 08:41:53 -0700 |
commit | 5a133e8a7f7c28c57f7a0a85e57692b8b781d896 (patch) | |
tree | 4c044c67cdbaec4319a55cfcffc0db548e7c4cf7 /t/t4300-merge-tree.sh | |
parent | list-objects-filter-options: allow mult. --filter (diff) | |
download | tgif-5a133e8a7f7c28c57f7a0a85e57692b8b781d896.tar.xz |
list-objects-filter-options: clean up use of ALLOC_GROW
Introduce a new macro ALLOC_GROW_BY which automatically zeros the added
array elements and takes care of updating the nr value. Use the macro in
code introduced earlier in this patchset.
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4300-merge-tree.sh')
0 files changed, 0 insertions, 0 deletions