1. 12 Feb, 2022 3 commits
  2. 11 Feb, 2022 1 commit
  3. 09 Feb, 2022 2 commits
  4. 08 Feb, 2022 2 commits
  5. 07 Feb, 2022 2 commits
    • push: Prepare pack before sending pack header. · 19ec5923
      For large pushes, preparing the pack can take a while. Currently we
      send the pack header first, followed by preparing the pack and then
      finally sending the pack. Unfortunately github.com will terminate
      a git-receive-pack command over http if it is idle for more than 10
      seconds. This is easily exceeded for a large push, and so the push is
      rejected with a Broken Pipe error.
      
      This patch moves the pack preparation ahead of sending the pack header,
      so that the timeout is avoided.
      
      prepare_pack() can be called multiple times but will only do the work
      once, so the original PREPARE_PACK call inside git_packbuilder_foreach()
      remains.
      Colin Stolley committed
  6. 06 Feb, 2022 6 commits
  7. 05 Feb, 2022 3 commits
  8. 03 Feb, 2022 5 commits
  9. 31 Jan, 2022 7 commits
  10. 30 Jan, 2022 6 commits
  11. 28 Jan, 2022 3 commits
    • packbuilder: use the packfile name instead of hash · 70d9bfa4
      Deprecate the `git_packfile_hash` function.  Callers should use the new
      `git_packfile_name` function which provides a unique packfile name.
      Edward Thomson committed
    • indexer: use a byte array for checksum · d2458af7
      The index's checksum is not an object ID, so we should not use the
      `git_oid` type.  Use a byte array for checksum calculation and storage.
      
      Deprecate the `git_indexer_hash` function.  Callers should use the new
      `git_indexer_name` function which provides a unique packfile name.
      Edward Thomson committed
    • index: use a byte array for checksum · 11ef76a9
      The index's checksum is not an object ID, so we should not use the
      `git_oid` type.  Use a byte array for checksum calculation and storage.
      
      Deprecate the `git_index_checksum` function without a replacement.  This
      is an abstraction that callers should not care about (and indeed do not
      seem to be using).
      
      Remove the unused `git_index__changed_relative_to` function.
      Edward Thomson committed