summaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-09-24 17:07:56 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-05 11:08:05 -0700
commita0355f6bcde6fb62d9629927b2e241353b38aeef (patch)
tree833c0a675a4661d7c7516f2d0b0254f4183fc628 /tree-walk.h
parentfetch-pack: use argv_array for index-pack / unpack-objects (diff)
downloadtgif-a0355f6bcde6fb62d9629927b2e241353b38aeef.tar.xz
http-push: use an argv_array for setup_revisions
This drops the magic number for the fixed-size argv arrays, so we do not have to wonder if we are overflowing it. We can also drop some confusing sha1_to_hex memory allocation (which seems to predate the ring of buffers allowing multiple calls), and get rid of an unchecked sprintf call. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-walk.h')
0 files changed, 0 insertions, 0 deletions