summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-12-22 12:56:59 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-22 13:33:48 -0800
commitc7191fa51011f9ae03686269a16ce0c03e97afec (patch)
tree5ae00afc22b701edc6268ab53c19e6198de273ad /t
parentRelNotes: the tenth batch (diff)
downloadtgif-c7191fa51011f9ae03686269a16ce0c03e97afec.tar.xz
http: use internal argv_array of struct child_process
Avoid a strangely magic array size (it's slightly too big) and explicit index numbers by building the command line for index-pack using the embedded argv_array of the child_process. Add the flag -o and its argument with argv_array_pushl() to make it obvious that they belong together. The resulting code is shorter and easier to extend. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions