summaryrefslogtreecommitdiff
path: root/replace-object.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-25 08:34:43 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-26 08:39:38 +0900
commitef46ad0815509c464e8a2558b4ebf6dc42736a01 (patch)
treee1073d70a05b05110988ad94bd45e45a8a0122a3 /replace-object.c
parent0f5762b0435234c4dc916f4b3672c78c1b24f0e2 (diff)
reftable: rename scratch buffer
Both `struct block_writer` and `struct reftable_writer` have a `buf` member that is being reused to optimize the number of allocations. Rename the variable to `scratch` to clarify its intend and provide a comment explaining why it exists. Suggested-by: Christian Couder <christian.couder@gmail.com> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace-object.c')
0 files changed, 0 insertions, 0 deletions