1. 01 Jun, 2016 7 commits
  2. 27 May, 2016 2 commits
  3. 26 May, 2016 6 commits
  4. 25 May, 2016 1 commit
  5. 24 May, 2016 3 commits
  6. 23 May, 2016 1 commit
  7. 22 May, 2016 1 commit
  8. 19 May, 2016 3 commits
  9. 18 May, 2016 2 commits
  10. 17 May, 2016 1 commit
    • Introduce a function to create a tree based on a different one · 9464f9eb
      Instead of going through the usual steps of reading a tree recursively
      into an index, modifying it and writing it back out as a tree, introduce
      a function to perform simple updates more efficiently.
      
      `git_tree_create_updated` avoids reading trees which are not modified
      and supports upsert and delete operations. It is not as versatile as
      modifying the index, but it makes some common operations much more
      efficient.
      Carlos Martín Nieto committed
  11. 09 May, 2016 1 commit
  12. 08 May, 2016 1 commit
  13. 06 May, 2016 2 commits
  14. 04 May, 2016 2 commits
  15. 03 May, 2016 5 commits
  16. 02 May, 2016 2 commits
    • Merge pull request #3759 from libgit2/cmn/faster-header · 4d384d6b
      odb: avoid inflating the full delta to read the header
      Edward Thomson committed
    • delta-apply: fix sign extension · 153fde5b
      We compute offsets by executing `off |= (*delta++ << 24)` for
      multiple constants, where `off` is of type `size_t` and `delta`
      is of type `unsigned char`. The usual arithmetic conversions (see
      ISO C89 §3.2.1.5 "Usual arithmetic conversions") kick in here,
      causing us to promote both operands to `int` and then extending
      the result to an `unsigned long` when OR'ing it with `off`.
      The integer promotion to `int` may result in wrong size
      calculations for big values.
      
      Fix the issue by making the constants `unsigned long`, causing both
      operands to be promoted to `unsigned long`.
      Patrick Steinhardt committed