1. 07 Dec, 2012 4 commits
  2. 06 Dec, 2012 3 commits
  3. 05 Dec, 2012 8 commits
  4. 04 Dec, 2012 3 commits
  5. 03 Dec, 2012 8 commits
  6. 02 Dec, 2012 2 commits
    • pack: add git_packfile_resolve_header · 44f9f547
      To paraphrase @peff:
      
      You can get both size and type from a packed object reasonably cheaply.
      If you have:
      
      * An object that is not a delta; both type and size are available in the
        packfile header.
      * An object that is a delta. The packfile type will be OBJ_*_DELTA, and
        you have to resolve back to the base to find the real type. That means
        potentially a lot of packfile index lookups, but each one is
        relatively cheap. For the size, you inflate the first few bytes of the
        delta, whose header will tell you the resulting size of applying the
        delta to the base.
      
      For simplicity, we just decompress the whole delta for now.
      David Michael Barr committed
  7. 01 Dec, 2012 12 commits