diff options
author | Jeff King <peff@peff.net> | 2018-08-14 18:18:06 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-14 19:29:00 (GMT) |
commit | 54d2f0d945abac2d8a8a1bcc258db937e597189e (patch) | |
tree | 8db9ac90885729339f488d429c3f7f6fed96ba09 /builtin/unpack-objects.c | |
parent | ced9fff75dad2578d7583ba3085970b03c66c57b (diff) | |
download | git-54d2f0d945abac2d8a8a1bcc258db937e597189e.zip git-54d2f0d945abac2d8a8a1bcc258db937e597189e.tar.gz git-54d2f0d945abac2d8a8a1bcc258db937e597189e.tar.bz2 |
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/unpack-objects.c')
0 files changed, 0 insertions, 0 deletions