diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-01-14 19:19:55 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-16 14:34:33 -0800 |
commit | 20e95d0a8475ce467903e1aaad5c2fd47777fcc8 (patch) | |
tree | 24b5ad7cf20419e36b7f751158b03a30a97bc060 /git-cvsserver.perl | |
parent | index-pack: eliminate recursion in find_unresolved_deltas (diff) | |
download | tgif-20e95d0a8475ce467903e1aaad5c2fd47777fcc8.tar.xz |
index-pack: eliminate unlimited recursion in get_base_data()
Revese the order of delta applying so that by the time a delta is
applied, its base is either non-delta or already inflated.
get_base_data() is still recursive, but because base's data is always
ready, the inner get_base_data() call never has any chance to call
itself again.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions