summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-09-24 17:07:54 -0400
committerJunio C Hamano <gitster@pobox.com>2015-10-05 11:08:05 -0700
commit984a43b902f005520e27268fecd10b9b517c0b17 (patch)
treee0e89a8469ee55571f1cbb00e6b69cf94bda3fd8 /diff.c
parent43bb66ae0b2f1e379b73e3f0f697ca0d93e2a57b (diff)
downloadgit-984a43b902f005520e27268fecd10b9b517c0b17.tar.gz
fetch-pack: use argv_array for index-pack / unpack-objects
This cleans up a magic number that must be kept in sync with the rest of the code (the number of argv slots). It also lets us drop some fixed buffers and an sprintf (since we can now use argv_array_pushf). We do still have to keep one fixed buffer for calling gethostname, but at least now the size computations for it are much simpler. 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