diff options
author | Jeff King <peff@peff.net> | 2018-08-14 14:18:06 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-14 12:29:00 -0700 |
commit | 54d2f0d945abac2d8a8a1bcc258db937e597189e (patch) | |
tree | 8db9ac90885729339f488d429c3f7f6fed96ba09 /builtin/name-rev.c | |
parent | cat-file: use oidset check-and-insert (diff) | |
download | tgif-54d2f0d945abac2d8a8a1bcc258db937e597189e.tar.xz |
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/name-rev.c')
0 files changed, 0 insertions, 0 deletions