1. 27 Jul, 2021 1 commit
    • graph: Create `git_graph_reachable_from_any()` · ce5400cd
      This change introduces a new API function
      `git_graph_reachable_from_any()`, that answers the question whether a
      commit is reachable from any of the provided commits through following
      parent edges.
      
      This function can take advantage of optimizations provided by the
      existence of a `commit-graph` file, since it makes it faster to know
      whether, given two commits X and Y, X cannot possibly be an reachable
      from Y.
      
      Part of: #5757
      lhchavez committed
  2. 18 Jan, 2020 1 commit
  3. 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
  4. 17 Mar, 2016 4 commits
  5. 25 Nov, 2015 1 commit
  6. 11 May, 2015 1 commit
  7. 16 Mar, 2015 1 commit
  8. 27 Oct, 2014 1 commit
  9. 01 Jul, 2014 1 commit
    • git_checkout_index: checkout other indexes · 967f5a76
      git_checkout_index can now check out other git_index's (that are not
      necessarily the repository index).  This allows checkout_index to use
      the repository's index for stat cache information instead of the index
      data being checked out.  git_merge and friends now check out their
      indexes directly instead of trying to blend it into the running index.
      Edward Thomson committed
  10. 14 Apr, 2014 1 commit
  11. 20 Mar, 2014 3 commits
  12. 20 Jan, 2014 1 commit
  13. 02 Dec, 2013 1 commit
  14. 05 Nov, 2013 2 commits
  15. 17 May, 2013 1 commit
  16. 15 May, 2013 2 commits
  17. 30 Apr, 2013 1 commit
  18. 08 Jan, 2013 1 commit
  19. 04 Jan, 2013 2 commits
  20. 03 Jan, 2013 2 commits
  21. 27 Nov, 2012 1 commit
  22. 25 Oct, 2012 1 commit