1. 23 May, 2020 1 commit
  2. 09 Jan, 2020 1 commit
  3. 20 Jul, 2019 1 commit
  4. 22 Feb, 2019 1 commit
  5. 02 Feb, 2019 1 commit
  6. 01 Dec, 2018 1 commit
  7. 22 Jun, 2018 1 commit
    • indexer: introduce options struct to `git_indexer_new` · c16556aa
      We strive to keep an options structure to many functions to be able to
      extend options in the future without breaking the API. `git_indexer_new`
      doesn't have one right now, but we want to be able to add an option
      for enabling strict packfile verification.
      
      Add a new `git_indexer_options` structure and adjust callers to use
      that.
      Patrick Steinhardt committed
  8. 10 Jun, 2018 1 commit
  9. 08 Jun, 2017 1 commit
    • settings: rename `GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION` · 6c23704d
      Initially, the setting has been solely used to enable the use of
      `fsync()` when creating objects. Since then, the use has been extended
      to also cover references and index files. As the option is not yet part
      of any release, we can still correct this by renaming the option to
      something more sensible, indicating not only correlation to objects.
      
      This commit renames the option to `GIT_OPT_ENABLE_FSYNC_GITDIR`. We also
      move the variable from the object to repository source code.
      Patrick Steinhardt committed
  10. 19 May, 2017 1 commit
    • indexer: name pack files after trailer hash · c0e54155
      Upstream git.git has changed the way how packfiles are named.
      Previously, they were using a hash of the contained object's OIDs, which
      has then been changed to use the hash of the complete packfile instead.
      See 1190a1acf (pack-objects: name pack files after trailer hash,
      2013-12-05) in the git.git repository for more information on this
      change.
      
      This commit changes our logic to match the behavior of core git.
      Chris Hescock committed
  11. 02 Mar, 2017 1 commit
  12. 28 Feb, 2017 4 commits
  13. 26 Sep, 2014 1 commit
  14. 16 Sep, 2014 1 commit
  15. 17 May, 2014 1 commit
  16. 11 Dec, 2013 1 commit
    • Test cancel from indexer progress callback · 7697e541
      This adds tests that try canceling an indexer operation from
      within the progress callback.
      
      After writing the tests, I wanted to run this under valgrind and
      had a number of errors in that situation because mmap wasn't
      working.  I added a CMake option to force emulation of mmap and
      consolidated the Amiga-specific code into that new place (so we
      don't actually need separate Amiga code now, just have to turn on
      -DNO_MMAP).
      
      Additionally, I made the indexer code propagate error codes more
      reliably than it used to.
      Russell Belfer committed
  17. 14 Nov, 2013 2 commits
  18. 07 Nov, 2013 2 commits
  19. 30 Oct, 2013 1 commit
    • indexer: remove the stream infix · a6154f21
      It was there to keep it apart from the one which read in from a file on
      disk. This other indexer does not exist anymore, so there is no need for
      anything other than git_indexer to refer to it.
      
      While here, rename _add() function to _append() and _finalize() to
      _commit(). The former change is cosmetic, while the latter avoids
      talking about "finalizing", which OO languages use to mean something
      completely different.
      Carlos Martín Nieto committed
  20. 04 Oct, 2013 1 commit
  21. 03 Mar, 2013 1 commit
  22. 25 Feb, 2013 2 commits
  23. 03 Jan, 2013 3 commits
  24. 27 Nov, 2012 1 commit
  25. 23 Nov, 2012 1 commit
    • Reset all static variables to NULL in clar's __cleanup · 9094d30b
      Without this change, any failed assertion in the second (or a later) test
      inside a test suite has a chance of double deleting memory, resulting in
      a heap corruption. See #1096 for details.
      
      This leaves alone the test cases where we "just" use cl_git_sandbox_init()
      and cl_git_sandbox_cleanup(). These methods already take good care to not
      double delete a repository.
      
      Fixes #1096
      Sascha Cunz committed
  26. 01 Nov, 2012 1 commit
  27. 24 Oct, 2012 1 commit
  28. 09 Oct, 2012 1 commit