1. 03 Jul, 2017 1 commit
    • Make sure to always include "common.h" first · 0c7f49dd
      Next to including several files, our "common.h" header also declares
      various macros which are then used throughout the project. As such, we
      have to make sure to always include this file first in all
      implementation files. Otherwise, we might encounter problems or even
      silent behavioural differences due to macros or defines not being
      defined as they should be. So in fact, our header and implementation
      files should make sure to always include "common.h" first.
      
      This commit does so by establishing a common include pattern. Header
      files inside of "src" will now always include "common.h" as its first
      other file, separated by a newline from all the other includes to make
      it stand out as special. There are two cases for the implementation
      files. If they do have a matching header file, they will always include
      this one first, leading to "common.h" being transitively included as
      first file. If they do not have a matching header file, they instead
      include "common.h" as first file themselves.
      
      This fixes the outlined problems and will become our standard practice
      for header and source files inside of the "src/" from now on.
      Patrick Steinhardt committed
  2. 29 Dec, 2016 1 commit
  3. 14 Nov, 2016 1 commit
  4. 30 Sep, 2015 1 commit
    • refdb and odb backends must provide `free` function · d3b29fb9
      As refdb and odb backends can be allocated by client code, libgit2
      can’t know whether an alternative memory allocator was used, and thus
      should not try to call `git__free` on those objects.
      
      Instead, odb and refdb backend implementations must always provide
      their own `free` functions to ensure memory gets freed correctly.
      Arthur Schreiber committed
  5. 30 Sep, 2014 1 commit
    • Introduce reference transactions · ab8d9242
      A transaction allows you to lock multiple references and set up changes
      for them before applying the changes all at once (or as close as the
      backend supports).
      
      This can be used for replication purposes, or for making sure some
      operations run when the reference is locked and thus cannot be changed.
      Carlos Martín Nieto committed
  6. 02 May, 2014 1 commit
  7. 06 Mar, 2014 1 commit
  8. 05 Feb, 2014 3 commits
  9. 09 Dec, 2013 2 commits
  10. 23 Nov, 2013 2 commits
  11. 02 Oct, 2013 1 commit
  12. 24 Sep, 2013 1 commit
  13. 12 Jun, 2013 1 commit
  14. 07 Jun, 2013 1 commit
  15. 31 May, 2013 1 commit
  16. 30 May, 2013 2 commits
  17. 29 May, 2013 1 commit
  18. 28 May, 2013 1 commit
  19. 11 May, 2013 4 commits
  20. 21 Apr, 2013 2 commits
  21. 19 Apr, 2013 1 commit
  22. 12 Apr, 2013 1 commit
  23. 07 Mar, 2013 1 commit