1. 25 Jan, 2023 6 commits
  2. 24 Jan, 2023 3 commits
  3. 20 Jan, 2023 9 commits
  4. 28 Nov, 2022 1 commit
  5. 25 Nov, 2022 3 commits
  6. 23 Nov, 2022 5 commits
  7. 19 Nov, 2022 1 commit
  8. 18 Nov, 2022 3 commits
  9. 10 Nov, 2022 1 commit
  10. 04 Nov, 2022 3 commits
  11. 03 Nov, 2022 4 commits
    • commit-graph: only verify csum on git_commit_graph_open(). · 2c4eb83e
      It is expensive to compute the sha1 of the entire commit-graph file each
      time we open it. Git only does this if it is re-writing the file.
      
      This patch will only verify the checksum when calling the external API
      git_commit_graph_open(), which explicitly says it opens and verifies
      the commit graph in the documentation.
      
      For internal library calls, we call git_commit_graph_get_file(), which
      mmaps the commit-graph file in read-only mode. Therefore it is safe to
      skip the validation check there.
      
      Tests were added to check that the validation works in the happy path,
      and prevents us from opening the file when validation fails.
      
      (Note from Derrick Stolee: This patch was applied internally at GitHub
      after we recognized the performance impact it had during an upgrade of
      libgit2. The original author left the company before we remembered to
      send it upstream.)
      
      Signed-off-by: Derrick Stolee <derrickstolee@github.com>
      Colin Stolley committed
    • Missing dispose · a8b18f15
      Julian Mesa committed
    • Fix leak in git_tag_create_from_buffer · c7e8de17
      If the tag already exists and we are not forcing overwrite we need to free ref_name buffer before return the "tag already exists" error.
      Julian Mesa committed
  12. 02 Nov, 2022 1 commit