1. 14 Jul, 2022 1 commit
  2. 20 Jun, 2022 1 commit
  3. 23 Feb, 2022 1 commit
  4. 25 Nov, 2021 1 commit
  5. 11 Nov, 2021 1 commit
  6. 04 May, 2016 1 commit
    • Fix initial commit test · 5785ae9b
      `test_commit_commit__create_initial_commit_parent_not_current` was not correctly 
      testing that `HEAD` was not changed. Now we grab the oid that it was pointing to
      before the call to `git_commit_create` and the oid that it's pointing to afterwards
      and compare those.
      John Haley committed
  7. 03 May, 2016 1 commit
  8. 17 Dec, 2015 1 commit
  9. 01 Dec, 2015 1 commit
  10. 03 Nov, 2015 1 commit
  11. 01 Jul, 2014 1 commit
  12. 29 Apr, 2014 1 commit
    • commit: safer commit creation with reference update · 217c029b
      The current version of the commit creation and amend function are unsafe
      to use when passing the update_ref parameter, as they do not check that
      the reference at the moment of update points to what the user expects.
      
      Make sure that we're moving history forward when we ask the library to
      update the reference for us by checking that the first parent of the new
      commit is the current value of the reference. We also make sure that the
      ref we're updating hasn't moved between the read and the write.
      
      Similarly, when amending a commit, make sure that the current tip of the
      branch is the commit we're amending.
      Carlos Martín Nieto committed
  13. 22 Jan, 2014 1 commit
  14. 02 Dec, 2013 1 commit
  15. 14 Nov, 2013 1 commit
  16. 27 Nov, 2012 1 commit
  17. 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
  18. 15 Feb, 2012 1 commit