<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/unpack-objects.c, branch v0.99.8e</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v0.99.8e</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v0.99.8e'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2005-08-12T17:38:20Z</updated>
<entry>
<title>Update unpack-objects usage and documentation.</title>
<updated>2005-08-12T17:38:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-12T08:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=87b7b84159381f5f0483e425122886cd952e374e'/>
<id>urn:sha1:87b7b84159381f5f0483e425122886cd952e374e</id>
<content type='text'>
It long supported -q flag to suppress progress meter without
properly being documented.
</content>
</entry>
<entry>
<title>[PATCH] Plug memory leaks in git-unpack-objects</title>
<updated>2005-08-03T19:57:55Z</updated>
<author>
<name>Sergey Vlasov</name>
<email>vsu@altlinux.ru</email>
</author>
<published>2005-08-03T12:11:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=ee639140c9d3d7d0c8821e6b7d36c75ae578b326'/>
<id>urn:sha1:ee639140c9d3d7d0c8821e6b7d36c75ae578b326</id>
<content type='text'>
- Call inflateEnd to release zlib state after use.
- After resolving delta, free base object data.

Signed-off-by: Sergey Vlasov &lt;vsu@altlinux.ru&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix up progress report for off-by-one error</title>
<updated>2005-07-10T23:14:22Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-10T23:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cf219196a89becccb50ad4a0a667a2814ddae60f'/>
<id>urn:sha1:cf219196a89becccb50ad4a0a667a2814ddae60f</id>
<content type='text'>
We used to print the index of the object we unpacked, not how many we
had unpacked.  Which caused slightly confusing progress reports like

	100% (2/3) done

rather than the more obvious "3/3" for 100% ;)
</content>
</entry>
<entry>
<title>git-unpack-objects: show progress report by default</title>
<updated>2005-07-09T17:43:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-09T17:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d36f7b805eccaf702c0be1c00d034711d0da1f77'/>
<id>urn:sha1:d36f7b805eccaf702c0be1c00d034711d0da1f77</id>
<content type='text'>
This ends up being very calming for big "git clone"s, since otherwise
you just get very frustrated with a long silence, wondering whether it's
working at all.

Use "-q" to quiet it down.

Now if we could just do the same for the initial "figure out what to
pack" phase, which can also be quite slow if the other end is busy (or
not packed and not in cache)...
</content>
</entry>
<entry>
<title>Don't special-case a zero-sized compression.</title>
<updated>2005-07-06T00:06:09Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2005-07-06T00:06:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=291ec0f2d2ce65e5ccb876b46d6468af49ddb82e'/>
<id>urn:sha1:291ec0f2d2ce65e5ccb876b46d6468af49ddb82e</id>
<content type='text'>
zlib actually writes a header for that case, and while ignoring that
header will get us the right data, it will also end up messing up our
stream position.  So we actually want zlib to "uncompress" even an empty
object.
</content>
</entry>
<entry>
<title>Re-instate dry-run logic in git-unpack-objects</title>
<updated>2005-06-29T16:53:20Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-29T16:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=dddafffef66041689f54837ac8e9bf717bb057b4'/>
<id>urn:sha1:dddafffef66041689f54837ac8e9bf717bb057b4</id>
<content type='text'>
It can no longer be as verbose, since it doesn't have a good way to
resolve deltas (now that it is purely streaming, it cannot seek around
to read the objects a delta is based on).

But it can check that the thing unpacks cleanly at least as far as pack
syntax goes - all the objects uncompress cleanly, and the pack has the
right final SHA1.
</content>
</entry>
<entry>
<title>Clean up git-unpack-objects a bit</title>
<updated>2005-06-29T16:38:02Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-29T16:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cca7081a93b192219e8f4f7252c7fc7c2cabfd9a'/>
<id>urn:sha1:cca7081a93b192219e8f4f7252c7fc7c2cabfd9a</id>
<content type='text'>
I'd like to add back the "dry-run" thing, but it turns out that to do it
well, I'd have to keep all the object data in memory (which is not
acceptable).  So I'll clean it up a bit and make it do as many checks as
it can.
</content>
</entry>
<entry>
<title>Make git pack files use little-endian size encoding</title>
<updated>2005-06-29T05:15:57Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-29T05:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=01247d87421d621db3866ce7f2124784fc7f46e5'/>
<id>urn:sha1:01247d87421d621db3866ce7f2124784fc7f46e5</id>
<content type='text'>
This makes it match the new delta encoding, and admittedly makes the
code easier to follow.

This also updates the PACK file version to 2, since this (and the delta
encoding change in the previous commit) are incompatible with the old
format.
</content>
</entry>
<entry>
<title>git-unpack-objects: re-write to read from stdin</title>
<updated>2005-06-29T03:34:23Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@ppc970.osdl.org</email>
</author>
<published>2005-06-29T03:34:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=67e5a5ece41eebc7fec497911690e5a8ca38aea6'/>
<id>urn:sha1:67e5a5ece41eebc7fec497911690e5a8ca38aea6</id>
<content type='text'>
It gets a bit more complicated to unpack in a streaming environment, but
here it is.  The rewrite is actually a lot cleaner in other ways, it's
just a bit more subtle.
</content>
</entry>
<entry>
<title>[PATCH] Fix unpack-objects for header length information.</title>
<updated>2005-06-29T00:12:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-28T23:49:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e1ddc9768469cb8c25387dc0c75dd4f40ea71096'/>
<id>urn:sha1:e1ddc9768469cb8c25387dc0c75dd4f40ea71096</id>
<content type='text'>
Standalone unpack-objects command was not adjusted for header length
encoding change when dealing with deltified entry.  This fixes it.

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