diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-02 12:22:54 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-04 10:18:20 +0200 |
commit | cf0582b43ce591e7923637d2c8925028aaa5977b (patch) | |
tree | f8f615e178b16967fd9f89c8bb155f531294bdcf /tests/diff/diffiter.c | |
parent | 71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff) | |
download | libgit2-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