1. 29 Jan, 2018 3 commits
  2. 26 Jan, 2018 2 commits
    • odb: reject reading and writing null OIDs · 275f103d
      The null OID (hash with all zeroes) indicates a missing object in
      upstream git and is thus not a valid object ID. Add defensive
      measurements to avoid writing such a hash to the object database in the
      very unlikely case where some data results in the null OID. Furthermore,
      add shortcuts when reading the null OID from the ODB to avoid ever
      returning an object when a faulty repository may contain the null OID.
      Patrick Steinhardt committed
    • tree: reject writing null-OID entries to a tree · c0487bde
      In commit a96d3cc3f (cache-tree: reject entries with null sha1,
      2017-04-21), the git.git project has changed its stance on null OIDs in
      tree objects. Previously, null OIDs were accepted in tree entries to
      help tools repair broken history. This resulted in some problems though
      in that many code paths mistakenly passed null OIDs to be added to a
      tree, which was not properly detected.
      
      Align our own code base according to the upstream change and reject
      writing tree entries early when the OID is all-zero.
      Patrick Steinhardt committed
  3. 25 Jan, 2018 1 commit
  4. 22 Jan, 2018 1 commit
  5. 20 Jan, 2018 3 commits
  6. 19 Jan, 2018 3 commits
  7. 18 Jan, 2018 1 commit
  8. 17 Jan, 2018 7 commits
  9. 12 Jan, 2018 5 commits
  10. 11 Jan, 2018 1 commit
  11. 10 Jan, 2018 5 commits
  12. 08 Jan, 2018 3 commits
  13. 07 Jan, 2018 2 commits
  14. 05 Jan, 2018 2 commits
  15. 04 Jan, 2018 1 commit
    • cmake: allow explicitly choosing SHA1 backend · 70aa6146
      Right now, if SHA1DC is disabled, the SHA1 backend is mostly chosen
      based on which system libgit2 is being compiled on and which libraries
      have been found. To give developers and distributions more choice,
      enable them to request specific backends by passing in a
      `-DSHA1_BACKEND=<BACKEND>` option instead. This completely replaces the
      previous auto-selection.
      Patrick Steinhardt committed