summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-14 12:19:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-16 22:34:33 (GMT)
commit20e95d0a8475ce467903e1aaad5c2fd47777fcc8 (patch)
tree24b5ad7cf20419e36b7f751158b03a30a97bc060 /commit.c
parent2baad220138b10582c55ef942466f2b8df18944f (diff)
downloadgit-20e95d0a8475ce467903e1aaad5c2fd47777fcc8.zip
git-20e95d0a8475ce467903e1aaad5c2fd47777fcc8.tar.gz
git-20e95d0a8475ce467903e1aaad5c2fd47777fcc8.tar.bz2
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 'commit.c')
0 files changed, 0 insertions, 0 deletions