aboutsummaryrefslogtreecommitdiffstats
path: root/git-gui/lib/commit.tcl
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 /git-gui/lib/commit.tcl
parentrefs: adapt `initial_transaction` flag to be unsigned (diff)
downloadgit-ef46ad0815509c464e8a2558b4ebf6dc42736a01.tar.gz
git-ef46ad0815509c464e8a2558b4ebf6dc42736a01.zip
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 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions