diff options
author | Jeff King <peff@peff.net> | 2015-09-25 00:07:56 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 21:08:05 +0300 |
commit | a0355f6bcde6fb62d9629927b2e241353b38aeef (patch) | |
tree | 833c0a675a4661d7c7516f2d0b0254f4183fc628 /remote.c | |
parent | 984a43b902f005520e27268fecd10b9b517c0b17 (diff) |
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 'remote.c')
0 files changed, 0 insertions, 0 deletions