diff options
author | Chandra Pratap <chandrapratap3519@gmail.com> | 2024-08-21 18:00:52 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-21 09:41:40 -0700 |
commit | 6853b931bd04d534c7e09073ab39f8192f0dd34e (patch) | |
tree | 764f10b730632217d224d3d8a240b52bdc8ed5ff /builtin/commit-graph.c | |
parent | 546cc0d64e3df8a012d785c6b423d03e16bfc0c5 (diff) |
t: harmonize t-reftable-block.c with coding guidelines
Harmonize the newly ported test unit-tests/t-reftable-block.c
with the following guidelines:
- Single line 'for' statements must omit curly braces.
- Structs must be 0-initialized with '= { 0 }' instead of '= { NULL }'.
- Array sizes and indices should preferably be of type 'size_t'and
not 'int'.
- Return code variable should preferably be named 'ret', not 'n'.
Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions