summaryrefslogtreecommitdiff
path: root/src/commit_graph.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert long long constant specifiers to stdint macrosCalvin Buckley2021-07-071-1/+1
|
* commit-graph: Introduce `git_commit_graph_needs_refresh()`lhchavez2021-01-101-0/+34
| | | | | | | This change introduces a function that allows the caller to know whether the `commit-graph` file has not been modified since it was parsed. Part of: #5757
* commit-graph: Support lookups of entries in a commit-graphlhchavez2021-01-101-0/+137
| | | | | | | | | | This change introduces `git_commit_graph_entry_find()` and `git_commit_graph_entry_parent()`. These two functions allow a much faster lookup of commits by ID, since the ODB does not need to be consulted, the commit object does not need to be inflated, and the contents of the commit object do not need to be parsed. Part of: #5757
* commit-graph: Introduce a parser for commit-graph fileslhchavez2021-01-101-0/+299
This change is the first in a series to add support for git's commit-graph. This should speed up commit graph traversals by avoiding object parsing and allowing some operations to terminate earlier. Part of: #5757