1. 15 Jul, 2013 1 commit
  2. 12 Jun, 2013 1 commit
  3. 07 Jun, 2013 1 commit
  4. 31 May, 2013 1 commit
  5. 03 May, 2013 1 commit
  6. 01 May, 2013 1 commit
  7. 29 Apr, 2013 2 commits
  8. 22 Apr, 2013 4 commits
  9. 21 Apr, 2013 1 commit
    • Move odb_backend implementors stuff into git2/sys · 83cc70d9
      This moves some of the odb_backend stuff that is related to the
      internals of an odb_backend implementation into include/git2/sys.
      
      Some of the stuff related to streaming I left in include/git2
      because it seemed like it would be reasonably needed by a normal
      user who wanted to stream objects into and out of the ODB.
      
      Also, I added APIs for traversing the list of backends so that
      some of the tests would not need to access ODB internals.
      Russell Belfer committed
  10. 19 Apr, 2013 1 commit
  11. 25 Mar, 2013 1 commit
  12. 17 Mar, 2013 1 commit
  13. 10 Jan, 2013 3 commits
  14. 08 Jan, 2013 1 commit
  15. 21 Dec, 2012 1 commit
  16. 01 Dec, 2012 1 commit
  17. 30 Nov, 2012 2 commits
    • indexer: use the packfile streaming API · f56f8585
      The new API allows us to read the object bit by bit from the packfile,
      instead of needing it all at once in the packfile. This also allows us
      to hash the object as it comes in from the network instead of having
      to try to read it all and failing repeatedly for larger objects.
      
      This is only the first step, but it already shows huge improvements
      when dealing with objects over a few megabytes in size. It reduces the
      memory needs in some cases, but delta objects still need to be
      completely in memory and the old inefficent method is still used for
      that.
      Carlos Martín Nieto committed
  18. 28 Nov, 2012 1 commit
  19. 27 Nov, 2012 1 commit
  20. 16 Nov, 2012 1 commit
  21. 13 Nov, 2012 2 commits
  22. 05 Nov, 2012 1 commit
  23. 09 Oct, 2012 1 commit
  24. 27 Sep, 2012 1 commit
  25. 15 Sep, 2012 1 commit
  26. 13 Sep, 2012 1 commit
  27. 12 Sep, 2012 1 commit
  28. 11 Sep, 2012 1 commit
  29. 10 Sep, 2012 1 commit
    • Reorg internal odb read header and object lookup · c6ac28fd
      Often `git_odb_read_header` will "fail" and have to read the
      entire object into memory instead of just the header.  When this
      happens, the object is loaded and then disposed of immediately,
      which makes it difficult to efficiently use the header information
      to decide if the object should be loaded (since attempting to do
      so will often result in loading the object twice).
      
      This commit takes the existing code and reorganizes it to have
      two new functions:
      
      - `git_odb__read_header_or_object` which acts just like the old
        read header function except that it returns the object, too, if
        it was forced to load the whole thing.  It then becomes the
        callers responsibility to free the `git_odb_object`.
      - `git_object__from_odb_object` which was extracted from the old
        `git_object_lookup` and creates a subclass of `git_object` from
        an existing `git_odb_object` (separating the ODB lookup from the
        `git_object` creation).  This allows you to use the first header
        reading function efficiently without instantiating the
        `git_odb_object` twice.
      
      There is no net change to the behavior of any of the existing
      functions, but this allows internal code to tap into the ODB
      lookup and object creation to be more efficient.
      Russell Belfer committed
  30. 06 Sep, 2012 2 commits
    • Implement filters for status/diff blobs · 60b9d3fc
      This adds support to diff and status for running filters (a la crlf)
      on blobs in the workdir before computing SHAs and before generating
      text diffs.  This ended up being a bit more code change than I had
      thought since I had to reorganize some of the diff logic to minimize
      peak memory use when filtering blobs in a diff.
      
      This also adds a cap on the maximum size of data that will be loaded
      to diff.  I set it at 512Mb which should match core git.  Right now
      it is a #define in src/diff.h but it could be moved into the public
      API if desired.
      Russell Belfer committed
    • odb: mark unused variable · 0e9f2fce
      Michael Schubert committed
  31. 27 Aug, 2012 1 commit