From: Jeff King <peff@peff.net>
To: "Tajti Ákos" <akos.tajti@intland.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git-upload-pack stream
Date: Tue, 22 May 2012 14:12:40 -0400 [thread overview]
Message-ID: <20120522181240.GA20305@sigill.intra.peff.net> (raw)
In-Reply-To: <4FBBC063.3050108@intland.com>
On Tue, May 22, 2012 at 06:35:47PM +0200, Tajti Ákos wrote:
> when pushing through http git-http-backend gets a stream of object
> when sending the git-upload-packl command. This stream starts with
> two object ids and a branch name. Is there a specification about how
> this streem exactly looks like?
Have you looked at what's in Documentation/technical in the git.git
repository? Specifically, protocol-common.txt and pack-protocol.txt
describe what happens over the regular protocol. The http version of the
protocol just splits that into chunks, but the output that upload-pack
produces is the same.
You mentioned "pushing", though, which does not involve git-upload-pack
at all. Did you mean git-receive-pack? From your description, I guess
maybe you mean the "command-list" lines sent by send-pack to
receive-pack? They are defined pack-protocol.txt. See the subsection
"Reference Update Request and Packfile Transfer" under "Pushing Data to
a Server".
-Peff
next prev parent reply other threads:[~2012-05-22 18:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-22 16:35 git-upload-pack stream Tajti Ákos
2012-05-22 18:12 ` Jeff King [this message]
2012-05-22 21:46 ` Tajti Ákos
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=20120522181240.GA20305@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=akos.tajti@intland.com \
--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).