1. 14 Dec, 2021 1 commit
    • refs: Speed up packed lookups. · ad7a51d8
      Currently ref lookups require loading the entire packed-refs file into
      a hashmap in memory. For repos with large numbers of refs this can be
      painfully slow.
      
      This patch replaces the existing lookup code and instead mmap()'s the
      packed-refs file and performs a binary search to locate the ref entry.
      Git uses a similiar approach.
      
      The old hash table codepath is still used for unsorted packed-refs files.
      
      This patch also fixes a minor bug where the "peeled" trait is never
      parsed correctly from the packed-refs header.
      Colin Stolley committed
  2. 23 Jun, 2017 1 commit
  3. 03 Mar, 2015 1 commit
    • Remove the signature from ref-modifying functions · 659cf202
      The signature for the reflog is not something which changes
      dynamically. Almost all uses will be NULL, since we want for the
      repository's default identity to be used, making it noise.
      
      In order to allow for changing the identity, we instead provide
      git_repository_set_ident() and git_repository_ident() which allow a user
      to override the choice of signature.
      Carlos Martín Nieto committed
  4. 15 Jan, 2014 1 commit
  5. 14 Nov, 2013 1 commit
  6. 07 Mar, 2013 1 commit
  7. 27 Nov, 2012 1 commit
  8. 30 Mar, 2012 1 commit
  9. 25 Jan, 2012 1 commit
  10. 06 Jan, 2012 1 commit
  11. 24 Dec, 2011 1 commit