<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/verify-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>2005-10-13T22:38:28Z</updated>
<entry>
<title>Keep track of whether a pack is local or not</title>
<updated>2005-10-13T22:38:28Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-13T22:38:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9d835df246e81a6a03e3f633280c45e683e4c673'/>
<id>urn:sha1:9d835df246e81a6a03e3f633280c45e683e4c673</id>
<content type='text'>
If we want to re-pack just local packfiles, we need to know whether a
particular object is local or not.

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>[PATCH] Unify usage strings declaration</title>
<updated>2005-07-30T00:21:50Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2005-07-29T09:01:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4d1f11903393bd79998144ce1089ce427a49a2ed'/>
<id>urn:sha1:4d1f11903393bd79998144ce1089ce427a49a2ed</id>
<content type='text'>
All usage strings are now declared as static const char [].

This is carried over from my old git-pb branch.

Signed-off-by: Petr Baudis &lt;pasky@ucw.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] verify-pack updates.</title>
<updated>2005-07-01T05:33:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-01T00:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f3bf92240956241e6b21e80a1c281ec7716b9f23'/>
<id>urn:sha1:f3bf92240956241e6b21e80a1c281ec7716b9f23</id>
<content type='text'>
Nico pointed out that having verify_pack.c and verify-pack.c was
confusing.  Rename verify_pack.c to pack-check.c as suggested,
and enhances the verification done quite a bit.

 - Built-in sha1_file unpacking knows that a base object of a
   deltified object _must_ be in the same pack, and takes
   advantage of that fact.

 - Earlier verify-pack command only checked the SHA1 sum for the
   entire pack file and did not look into its contents.  It now
   checks everything idx file claims to have unpacks correctly.

 - It now has a hook to give more detailed information for
   objects contained in the pack under -v flag.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add git-verify-pack command.</title>
<updated>2005-06-29T16:11:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-29T09:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f9253394a271a9fefdd234a86c228adeb6d0136a'/>
<id>urn:sha1:f9253394a271a9fefdd234a86c228adeb6d0136a</id>
<content type='text'>
Given a list of &lt;pack&gt;.idx files, this command validates the
index file and the corresponding .pack file for consistency.

This patch also uses the same validation mechanism in fsck-cache
when the --full flag is used.

During normal operation, sha1_file.c verifies that a given .idx
file matches the .pack file by comparing the SHA1 checksum
stored in .idx file and .pack file as a minimum sanity check.
We may further want to check the pack signature and version when
we map the pack, but that would be a separate patch.

Earlier, errors to map a pack file was not flagged fatal but led
to a random fatal error later.  This version explicitly die()s
when such an error is detected.

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