<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/packfile.h, branch v2.17.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.17.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.17.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-05T17:46:05Z</updated>
<entry>
<title>fsck: introduce partialclone extension</title>
<updated>2017-12-05T17:46:05Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-12-05T16:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=498f1f61f123fd66eccc05c1d19356b25b4225b2'/>
<id>urn:sha1:498f1f61f123fd66eccc05c1d19356b25b4225b2</id>
<content type='text'>
Currently, Git does not support repos with very large numbers of objects
or repos that wish to minimize manipulation of certain blobs (for
example, because they are very large) very well, even if the user
operates mostly on part of the repo, because Git is designed on the
assumption that every referenced object is available somewhere in the
repo storage. In such an arrangement, the full set of objects is usually
available in remote storage, ready to be lazily downloaded.

Teach fsck about the new state of affairs. In this commit, teach fsck
that missing promisor objects referenced from the reflog are not an
error case; in future commits, fsck will be taught about other cases.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move for_each_packed_object()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7709f468fdeece2a99d60a581a4ced65cd2844df'/>
<id>urn:sha1:7709f468fdeece2a99d60a581a4ced65cd2844df</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move has_pack_index()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f9a8672a81277b83cabd59c6705089351c4f3ec4'/>
<id>urn:sha1:f9a8672a81277b83cabd59c6705089351c4f3ec4</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move has_sha1_pack()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=150e3001d0c5cc69db72a10f3e0cd1e14f11acba'/>
<id>urn:sha1:150e3001d0c5cc69db72a10f3e0cd1e14f11acba</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move find_pack_entry() and make it global</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1a1e5d4f47fd77dec1b7e7ef0867939a251252b6'/>
<id>urn:sha1:1a1e5d4f47fd77dec1b7e7ef0867939a251252b6</id>
<content type='text'>
This function needs to be global as it is used by sha1_file.c and will
be used by packfile.c.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move find_sha1_pack()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d6fe0036fd5e0cf7f51aa84381ebd321e898350a'/>
<id>urn:sha1:d6fe0036fd5e0cf7f51aa84381ebd321e898350a</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move find_pack_entry_one(), is_pack_valid()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2551953b9619b285128c1e9cf35120fb7555d8f'/>
<id>urn:sha1:a2551953b9619b285128c1e9cf35120fb7555d8f</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move check_pack_index_ptr(), nth_packed_object_offset()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9e0f45f5a61d9d0556e6004198dd6a650be14bd9'/>
<id>urn:sha1:9e0f45f5a61d9d0556e6004198dd6a650be14bd9</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move nth_packed_object_{sha1,oid}</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d5a16761820f2539bf8610c8f0c64f610e29314e'/>
<id>urn:sha1:d5a16761820f2539bf8610c8f0c64f610e29314e</id>
<content type='text'>
Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry()</title>
<updated>2017-08-23T22:12:07Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2017-08-18T22:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1d8130be0a7229b215b76eac54c561a0124bc99'/>
<id>urn:sha1:f1d8130be0a7229b215b76eac54c561a0124bc99</id>
<content type='text'>
Both sha1_file.c and packfile.c now need read_object(), so a copy of
read_object() was created in packfile.c.

This patch makes both mark_bad_packed_object() and has_packed_and_bad()
global. Unlike most of the other patches in this series, these 2
functions need to remain global.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
