summaryrefslogtreecommitdiff
path: root/wildmatch.c
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2013-03-27 21:03:42 +0100
committerJunio C Hamano <gitster@pobox.com>2013-03-27 13:25:16 -0700
commitabe601bba52ee6b0bf89d282aa1c3ef5fd89cbb0 (patch)
tree62540653a4652dcdee2290afcb4664684c5b7030 /wildmatch.c
parent84dd81c12622119e7f1d3eaf2047b910352b36bb (diff)
downloadgit-abe601bba52ee6b0bf89d282aa1c3ef5fd89cbb0.tar.gz
sha1_file: remove recursion in unpack_entry
Similar to the recursion in packed_object_info(), this leads to problems on stack-space-constrained systems in the presence of long delta chains. We proceed in three phases: 1. Dig through the delta chain, saving each delta object's offsets and size on an ad-hoc stack. 2. Unpack the base object at the bottom. 3. Unpack and apply the deltas from the stack. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wildmatch.c')
0 files changed, 0 insertions, 0 deletions