summaryrefslogtreecommitdiff
path: root/builtin/ls-tree.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2018-08-14 14:18:06 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-14 12:29:00 -0700
commit54d2f0d945abac2d8a8a1bcc258db937e597189e (patch)
tree8db9ac90885729339f488d429c3f7f6fed96ba09 /builtin/ls-tree.c
parentcat-file: use oidset check-and-insert (diff)
downloadtgif-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/ls-tree.c')
0 files changed, 0 insertions, 0 deletions