summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-09-24 17:07:56 -0400
committerJunio C Hamano <gitster@pobox.com>2015-10-05 11:08:05 -0700
commita0355f6bcde6fb62d9629927b2e241353b38aeef (patch)
tree833c0a675a4661d7c7516f2d0b0254f4183fc628 /diff.c
parent984a43b902f005520e27268fecd10b9b517c0b17 (diff)
downloadgit-a0355f6bcde6fb62d9629927b2e241353b38aeef.tar.gz
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 'diff.c')
0 files changed, 0 insertions, 0 deletions