author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sun, 26 Jun 2005 01:29:23 +0000 (18:29 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sun, 26 Jun 2005 01:29:23 +0000 (18:29 -0700) | ||
commit | 78817c15de0dfb408d1e35a2f692f54dc51e80a3 | |
tree | 35370170f660f0fd308f7d45a510e5176b839903 | tree | snapshot |
parent | eb41ab11e8eaa1bd71a4413d71583d72dd181b33 | commit | diff |
Fix delta "sliding window" code
When Junio fixed the lack of a successful error code from try_delta(),
that uncovered an off-by-one error in the caller.
Also, some testing made it clear that we now find a lot more deltas,
because we used to (incorrectly) break early on bogus "failure"
cases.
When Junio fixed the lack of a successful error code from try_delta(),
that uncovered an off-by-one error in the caller.
Also, some testing made it clear that we now find a lot more deltas,
because we used to (incorrectly) break early on bogus "failure"
cases.
pack-objects.c | diff | blob | history |