# git-upload-pack stream

3 messages from 2012-05-22 to 2012-05-22. Participants: Tajti Ákos, Jeff King.
Thread: https://gitlist.dev/t/30593

## Tajti Ákos, 2012-05-22 16:35

Subject: git-upload-pack stream
Message-ID: <4FBBC063.3050108@intland.com>
URL: https://gitlist.dev/e/4FBBC063.3050108%40intland.com

```
Dear List,

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?

Thanks in advance,
Ákos Tajti

```

## Jeff King, 2012-05-22 18:12

Subject: Re: git-upload-pack stream
Message-ID: <20120522181240.GA20305@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20120522181240.GA20305%40sigill.intra.peff.net
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

```

## Tajti Ákos, 2012-05-22 21:46

Subject: Re: git-upload-pack stream
Message-ID: <4FBC091F.2070705@intland.com>
URL: https://gitlist.dev/e/4FBC091F.2070705%40intland.com
In-Reply-To: <20120522181240.GA20305@sigill.intra.peff.net>

```
Jeff,

thanks for the information

Ákos

2012.05.22. 20:12 keltezéssel, Jeff King írta:
> 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

```
