Thread (51 messages) flat view 51 messages, 14 authors, 2016-06-15

Re: pack operation is thrashing my server

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:45:09

Possibly related (same subject, not in this thread)

On Thu, 14 Aug 2008, Shawn O. Pearce wrote:
Andreas Ericsson [off-list ref] wrote:
quoted
How does one go about getting the object sizes? rev-list appears
to have no option for it.
With great pain.  You can use the output of verify-pack -v to
tell you the size of the inflated portion of the object, but for
a delta this is the inflated size of the delta, not of the fully
unpacked object.
Delta objects have the size of the final object in their header.  There 
is get_size_from_delta() extracting that information already.  There is 
simply no interface exporting that info to external tools but that 
shouldn't be hard to add.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help