1. 13 Jul, 2018 1 commit
    • treewide: remove use of C++ style comments · 9994cd3f
      C++ style comment ("//") are not specified by the ISO C90 standard and
      thus do not conform to it. While libgit2 aims to conform to C90, we did
      not enforce it until now, which is why quite a lot of these
      non-conforming comments have snuck into our codebase. Do a tree-wide
      conversion of all C++ style comments to the supported C style comments
      to allow us enforcing strict C90 compliance in a later commit.
      Patrick Steinhardt committed
  2. 10 Jun, 2018 1 commit
  3. 15 Mar, 2016 1 commit
  4. 08 Mar, 2016 1 commit
  5. 28 Feb, 2016 2 commits
  6. 03 Nov, 2015 1 commit
  7. 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
  8. 01 Jul, 2014 1 commit
  9. 04 Feb, 2014 1 commit
  10. 15 Jan, 2014 1 commit
  11. 14 Nov, 2013 1 commit
  12. 15 May, 2013 1 commit
  13. 07 Mar, 2013 1 commit
  14. 25 Jan, 2013 1 commit
  15. 27 Nov, 2012 1 commit
  16. 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
  17. 03 Apr, 2012 2 commits
  18. 21 Mar, 2012 1 commit
    • Ported t04_commit.c to Clar. · e0799b6c
      Created a copy of tests/resources/testrepo.git that is compatible
      with the Clar sandboxing helpers.
      
      Restructured commit test suites to use Clar sandbox helpers.
      
      Now using typed data arrays rather than lots of macros to define test
      cases.
      Ben Straub committed