Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jul 01, 2005

  1. [PATCH] verify-pack updates.

    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 <junkio@cox.net>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    authored June 30, 2005 Linus Torvalds committed June 30, 2005

Jun 29, 2005

  1. [PATCH] Add git-verify-pack command.

    Given a list of <pack>.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 <junkio@cox.net>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
    authored June 29, 2005 Linus Torvalds committed June 29, 2005
  2. Make git pack files use little-endian size encoding

    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.
    authored June 28, 2005

Jun 28, 2005

  1. Change pack file format. Hopefully for the last time.

    This also adds a header with a signature, version info, and the number
    of objects to the pack file.  It also encodes the file length and type
    more efficiently.
    authored June 28, 2005
Something went wrong with that request. Please try again.