diff options
author | Linus Arver <linusa@google.com> | 2024-10-13 11:58:42 +0000 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2024-10-14 12:33:02 -0400 |
commit | 3f0346d4dcdb6cf03f758895719dfe1e6a8cc696 (patch) | |
tree | c0f646e899bf5cffe947d02982cc924bd0ed7b58 /commit-graph.c | |
parent | ef8ce8f3d4344fd3af049c17eeba5cd20d98b69f (diff) |
trailer: spread usage of "trailer_block" language
Deprecate the "trailer_info" struct name and replace it with
"trailer_block". This is more readable, for two reasons:
1. "trailer_info" on the surface sounds like it's about a single
trailer when in reality it is a collection of one or more trailers,
and
2. the "*_block" suffix is more informative than "*_info", because it
describes a block (or region) of contiguous text which has trailers
in it, which has been parsed into the trailer_block structure.
Rename the
size_t trailer_block_start, trailer_block_end;
members of trailer_info to just "start" and "end". Rename the "info"
pointer to "trailer_block" because it is more descriptive. Update
comments accordingly.
Signed-off-by: Linus Arver <linus@ucla.edu>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions