summaryrefslogtreecommitdiff
path: root/branch.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-14 19:19:55 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-16 14:34:33 -0800
commit20e95d0a8475ce467903e1aaad5c2fd47777fcc8 (patch)
tree24b5ad7cf20419e36b7f751158b03a30a97bc060 /branch.h
parentindex-pack: eliminate recursion in find_unresolved_deltas (diff)
downloadtgif-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 'branch.h')
0 files changed, 0 insertions, 0 deletions