summaryrefslogtreecommitdiff
path: root/t/t4252
diff options
context:
space:
mode:
authorLibravatar David Gould <david@optimisefitness.com>2012-09-11 15:32:47 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-09-11 10:30:31 -0700
commitbdee397d7c2345d467548ef9446a2a63b72c5449 (patch)
tree71a4db98c94c786f0edb06839cc4c9b5cab40d98 /t/t4252
parentrun-command: optionally kill children on exit (diff)
downloadtgif-bdee397d7c2345d467548ef9446a2a63b72c5449.tar.xz
run-command.c: fix broken list iteration in clear_child_for_cleanup
Iterate through children_to_clean using 'next' fields but with an extra level of indirection. This allows us to update the chain when we remove a child and saves us managing several variables around the loop mechanism. Signed-off-by: David Gould <david@optimisefitness.com> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252')
0 files changed, 0 insertions, 0 deletions