Thread (40 messages) flat view 40 messages, 7 authors, 2016-06-15

Re: getting list of objects for packing

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:33

Possibly related (same subject, not in this thread)

Brandon Casey [off-list ref] writes:
Nicolas Pitre wrote:
quoted
On Fri, 31 Oct 2008, Brandon Casey wrote:
quoted
quoted
  -The sed statement is stripping off anything after the sha1. Any way to
   get rev-list to print out just the sha1 so that sed is not necessary?
If you strip the data after the SHA1 when pipping into pack-objects then 
you'll have horrible delta compression results.  The path names after 
each SHA1 is used to sort objects when trying to find best matches for 
delta compression. So you should preserve those and feed it back 
especially with those packs that you still want delta compression for.
Ah, I'll have to rethink my script then. Thanks!
Yeah, but wasn't the purpose of your whole exercise to list objects that
do not delta nor compress well with each other, in which case the delta
compression order (aka name hash) would not matter, no?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help