summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-10-02 12:22:54 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-04 10:18:20 +0200
commitcf0582b43ce591e7923637d2c8925028aaa5977b (patch)
treef8f615e178b16967fd9f89c8bb155f531294bdcf /tests/diff/diffiter.c
parent71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff)
downloadlibgit2-cf0582b43ce591e7923637d2c8925028aaa5977b.tar.gz
indexer: do multiple passes over the delta list
Though unusual, a packfile may contain a delta whose base is a delta that comes later. In order index such a packfile, we must not give up on the first failure to resolve a delta, but keep it around. If there is a pass which makes no progress, this indicates that the packfile is broken, so fail accordingly.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions