Revision fa3a0c94dc88567b513e58835e5915f87da40af9 authored by Shawn O. Pearce on 11 February 2009, 18:15:30 UTC, committed by Junio C Hamano on 11 February 2009, 18:25:24 UTC
There is some risk that re-opening a regenerated pack file with different offsets could leave stale entries within the delta base cache that could be matched up against other objects using the same "struct packed_git*" and pack offset. Throwing away the entire delta base cache in this case is safer, as we don't have to worry about a recycled "struct packed_git*" matching to the wrong base object, resulting in delta apply errors while unpacking an object. Suggested-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3d20c63
File | Mode | Size |
---|---|---|
INSTALL | -rw-r--r-- | 8.7 KB |
README | -rw-r--r-- | 15.7 KB |
git-favicon.png | -rw-r--r-- | 164 bytes |
git-logo.png | -rw-r--r-- | 208 bytes |
gitweb.css | -rw-r--r-- | 7.1 KB |
gitweb.perl | -rwxr-xr-x | 164.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...