summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@linux-foundation.org>2008-12-10 19:44:37 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-11 00:09:48 -0800
commit04d39759373e5de017e7c17ef4b762ac5ad3afcc (patch)
tree60bdd2419073b9ed60473a873b1d66ff4f8b632d /builtin-fetch-pack.c
parentmake sure packs to be replaced are closed beforehand (diff)
downloadtgif-04d39759373e5de017e7c17ef4b762ac5ad3afcc.tar.xz
fsck: reduce stack footprint
The logic to mark all objects that are reachable from tips of refs were implemented as a set of recursive functions. In a repository with a deep enough history, this can easily eat up all the available stack space. Restructure the code to require less stackspace by using an object array to keep track of the objects that still need to be processed. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch-pack.c')
0 files changed, 0 insertions, 0 deletions