Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-12-11 06:44:37 +0300
committerJunio C Hamano <gitster@pobox.com>2008-12-11 11:09:48 +0300
commit04d39759373e5de017e7c17ef4b762ac5ad3afcc (patch)
tree60bdd2419073b9ed60473a873b1d66ff4f8b632d /sha1_file.c
parentc74faea19e39ca933492f697596310397175c329 (diff)
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 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions