Dulwich.io dulwich / 78e552b
Fix read for ref deltas. Jelmer Vernooij 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
441441 assert size == len(uncomp)
442442 return type, (delta_base_offset, uncomp), comp_len+raw_base, unused
443443 elif type == 7: # ref delta
444 basename = map.read(20)
444 basename = read(20)
445445 raw_base += 20
446446 uncomp, comp_len, unused = read_zlib(read, size)
447447 assert size == len(uncomp)