<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/clone-pack.c, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-12T01:54:18Z</updated>
<entry>
<title>fetch-clone progress: finishing touches.</title>
<updated>2006-02-12T01:54:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-12T01:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=21fcd1bdea2440236aea1713ea42a66bc2da5563'/>
<id>urn:sha1:21fcd1bdea2440236aea1713ea42a66bc2da5563</id>
<content type='text'>
This makes fetch-pack also report the progress of packing part.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make "git clone" less of a deathly quiet experience</title>
<updated>2006-02-11T06:28:30Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2006-02-11T04:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ee2ad654bc7d19ec4f08e11dc4fed8b97a59222'/>
<id>urn:sha1:5ee2ad654bc7d19ec4f08e11dc4fed8b97a59222</id>
<content type='text'>
It used to be that "git-unpack-objects" would give nice percentages, but
now that we don't unpack the initial clone pack any more, it doesn't. And
I'd love to do that nice percentage view in the pack objects downloader
too, but the thing doesn't even read the pack header, much less know how
much it's going to get, so I was lazy and didn't.

Instead, it at least prints out how much data it's gotten, and what the
packing speed is. Which makes the user realize that it's actually doing
something useful instead of sitting there silently (and if the recipient
knows how large the final result is, he can at least make a guess about
when it migt be done).

So with this patch, I get something like this on my DSL line:

	[torvalds@g5 ~]$ time git clone master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 clone-test
	Packing 188543 objects
	  48.398MB  (154 kB/s)

where even the speed approximation seems to be roughtly correct (even
though my algorithm is a truly stupid one, and only really gives "speed in
the last half second or so").

Anyway, _something_ like this is definitely needed. It could certainly be
better (if it showed the same kind of thing that git-unpack-objects did,
that would be much nicer, but would require parsing the object stream as
it comes in). But this is  big step forward, I think.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>clone-pack: remove unused and undocumented --keep flag</title>
<updated>2005-12-18T09:55:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-18T09:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2247efb40b304f158b9ab41455bd711366a44f57'/>
<id>urn:sha1:2247efb40b304f158b9ab41455bd711366a44f57</id>
<content type='text'>
While we are at it, give fully spelled --keep to fetch-pack.
Also give --quiet in addition to -q to fetch-pack as well.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>fetch-pack: -k option to keep downloaded pack.</title>
<updated>2005-12-18T07:11:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-15T06:17:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ad8972150887a8ed3dd4869fc9318cc2e48dd69f'/>
<id>urn:sha1:ad8972150887a8ed3dd4869fc9318cc2e48dd69f</id>
<content type='text'>
Split out the functions that deal with the socketpair after
finishing git protocol handshake to receive the packed data into
a separate file, and use it in fetch-pack to keep/explode the
received pack data.  We earlier had something like that on
clone-pack side once, but the list discussion resulted in the
decision that it makes sense to always keep the pack for
clone-pack, so unpacking option is not enabled on the clone-pack
side, but we later still could do so easily if we wanted to with
this change.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>clone-pack: make it usable for partial branch cloning.</title>
<updated>2005-12-15T05:25:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-15T05:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31ec6abf887ec95642cbe82fe61076e975494ab0'/>
<id>urn:sha1:31ec6abf887ec95642cbe82fe61076e975494ab0</id>
<content type='text'>
clone-pack had some logic to accept subset of remote refs from
the command line and clone from there.  However, it was never
used in practice and its problems were not found out so far.

This commit changes the command to output the object names of
refs to the standard output instead of making a clone of the
remote repository when explicit &lt;head&gt; parameters are given; the
output format is the same as fetch-pack.

The traditional behaviour of cloning the whole repository by
giving no explicit &lt;head&gt; parameters stays the same.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make networking commands to work from a subdirectory.</title>
<updated>2005-11-29T07:13:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-26T08:47:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5a3277133d200151fe526e56e036c933d343958a'/>
<id>urn:sha1:5a3277133d200151fe526e56e036c933d343958a</id>
<content type='text'>
These are whole-tree operations and there is not much point
making them operable from within a subdirectory, but it is easy
to do so, and using setup_git_directory() upfront helps git://
proxy specification picked up from the correct place.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Work around missing hard links on FAT formatted media</title>
<updated>2005-10-26T06:49:43Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-10-25T23:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9e48b389990c0201487e58f3bac32734a59a7e89'/>
<id>urn:sha1:9e48b389990c0201487e58f3bac32734a59a7e89</id>
<content type='text'>
FAT -- like Coda -- does not like cross-directory hard links. To be
precise, FAT does not like links at all. But links are not needed either.
So get rid of them.

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clone: always keep pack sent from remote.</title>
<updated>2005-10-19T21:43:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-19T21:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1c7ada6dd1fdf249d0bb84f3293d3be768b9239'/>
<id>urn:sha1:e1c7ada6dd1fdf249d0bb84f3293d3be768b9239</id>
<content type='text'>
This deprecates --keep and -q flags and always keeps the pack
sent from the remote site.  Corresponding configuration
variables are also removed.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Ignore funny refname sent from remote</title>
<updated>2005-10-15T18:23:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-14T01:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1a7141ff28e217312da4b289127875905c6ec479'/>
<id>urn:sha1:1a7141ff28e217312da4b289127875905c6ec479</id>
<content type='text'>
This allows the remote side (most notably, upload-pack) to show
additional information without affecting the downloader.  Peek-remote
does not ignore them -- this is to make it useful for Pasky's
automatic tag following.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Refuse to create funny refs in clone-pack, git-fetch and receive-pack.</title>
<updated>2005-10-15T18:23:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-14T01:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8a1deecc6ef37728b951eaba051deb7e0a38af8'/>
<id>urn:sha1:d8a1deecc6ef37728b951eaba051deb7e0a38af8</id>
<content type='text'>
Using git-check-ref-format, make sure we do not create refs with
funny names when cloning from elsewhere (clone-pack), fast forwarding
local heads (git-fetch), or somebody pushes into us (receive-pack).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
