summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-08-14 14:18:06 -0400
committerJunio C Hamano <gitster@pobox.com>2018-08-14 12:29:00 -0700
commit54d2f0d945abac2d8a8a1bcc258db937e597189e (patch)
tree8db9ac90885729339f488d429c3f7f6fed96ba09 /builtin/commit.c
parentced9fff75dad2578d7583ba3085970b03c66c57b (diff)
cat-file: split batch "buf" into two variables
We use the "buf" strbuf for two things: to read incoming lines, and as a scratch space for test-expanding the user-provided format. Let's split this into two variables with descriptive names, which makes their purpose and lifetime more clear. It will also help in a future patch when we start using the "output" buffer for more expansions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions