git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git pack-objects input list
@ 2007-12-01 10:45 Mike Hommey
  2007-12-01 17:49 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Hommey @ 2007-12-01 10:45 UTC (permalink / raw)
  To: git

Hi,

While playing around with git-pack-objects, it seemed to me that the
input it can take is not a simple list of object SHA1s. Unfortunately,
the man page is not very verbose about that. While I'd happily send a
patch for that, I'd prefer to actually know what kind of input it can
take, and what it uses it for.

AFAICT, it can take the output of git-rev-list --all --objects (so,
SHA1s followed by file names for blobs), which seems to be the same as
what git-pack-objects --revs does internally, but it seems to have a
string impact on how deltas are calculated (not giving file names makes
it create a smaller pack in some cases, a bigger one in other cases).

Could someone knowing the delta calculation internals enlighten me ?

Thanks

Mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-02  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 10:45 git pack-objects input list Mike Hommey
2007-12-01 17:49 ` Linus Torvalds
2007-12-01 22:38   ` Mike Hommey
2007-12-02  2:23     ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).