git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Hommey <mh@glandium.org>
To: git@vger.kernel.org
Subject: git pack-objects input list
Date: Sat, 1 Dec 2007 11:45:02 +0100	[thread overview]
Message-ID: <20071201104502.GA1457@glandium.org> (raw)

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

             reply	other threads:[~2007-12-01 10:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-01 10:45 Mike Hommey [this message]
2007-12-01 17:49 ` git pack-objects input list Linus Torvalds
2007-12-01 22:38   ` Mike Hommey
2007-12-02  2:23     ` Nicolas Pitre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071201104502.GA1457@glandium.org \
    --to=mh@glandium.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).