Browse Source
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>maint
David Gould
13 years ago
committed by
Junio C Hamano
1 changed files with 7 additions and 6 deletions
Loading…
Reference in new issue