summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-12-22 09:14:10 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-22 13:33:53 -0800
commita923e05944271e2aa887721a1d2f24bb418eeca7 (patch)
tree5a0b8779212932ce2172e1ebde11003bc4c9cc88 /branch.h
parenthttp: use internal argv_array of struct child_process (diff)
downloadtgif-a923e05944271e2aa887721a1d2f24bb418eeca7.tar.xz
send-pack: use internal argv_array of struct child_process
Avoid a magic number of NULL placeholder values and a magic index by constructing the command line for pack-objects using the embedded argv_array of the child_process. The resulting code is shorter and easier to extend. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions