summaryrefslogtreecommitdiff
path: root/src/commit_list.h
Commit message (Collapse)AuthorAgeFilesLines
* revwalk: get closer to gitCarlos Martín Nieto2016-10-061-0/+1
| | | | | | | | | | | | We had some home-grown logic to figure out which objects to show during the revision walk, but it was rather inefficient, looking over the same list multiple times to figure out when we had run out of interesting commits. We now use the lists in a smarter way. We also introduce the slop mechanism to determine when to stpo looking. When we run out of interesting objects, we continue preparing the walk for another 5 rounds in order to make it less likely that we miss objects in situations with complex graphs.
* merge-base: Remove redundant merge basesVicent Marti2015-11-021-0/+1
|
* revwalk: make commit list use 64 bits for timecmn/quick-parse-64Carlos Martín Nieto2015-10-141-1/+1
| | | | | | | | We moved the "main" parsing to use 64 bits for the timestamp, but the quick parsing for the revwalk did not. This means that for large timestamps we fail to parse the time and thus the walk. Move this parser to use 64 bits as well.
* Move un-namespaced constant to internal headerRussell Belfer2014-10-101-0/+2
| | | | FLAG_BITS only seems to be used internally
* object: introduce git_describe_object()nulltoken2014-04-301-1/+1
|
* Replace pqueue with code from hashsig heapRussell Belfer2014-02-031-1/+1
| | | | | | | | | | | I accidentally wrote a separate priority queue implementation when I was working on file rename detection as part of the file hash signature calculation code. To simplify licensing terms, I just adapted that to a general purpose priority queue and replace the old priority queue implementation that was borrowed from elsewhere. This also removes parts of the COPYING document that no longer apply to libgit2.
* update copyrightsEdward Thomson2013-01-081-1/+1
|
* Move merge functions to merge.cBen Straub2012-11-271-0/+49
In so doing, promote commit_list to git_commit_list, with its own internal API header.