summaryrefslogtreecommitdiff
path: root/include/git2/revparse.h
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2021-01-04 19:33:48 -0800
committerlhchavez <lhchavez@lhchavez.com>2021-01-10 11:18:38 -0800
commit1f32ed25ee6f5ead60fff8cf5ba544ef2d567fe0 (patch)
tree022d028c78040098dd940aab13f469dbede00741 /include/git2/revparse.h
parent3fd57a75e9dd0c4b0e40ee6e21568d40bd70d29b (diff)
downloadlibgit2-1f32ed25ee6f5ead60fff8cf5ba544ef2d567fe0.tar.gz
commit-graph: Support lookups of entries in a commit-graph
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
Diffstat (limited to 'include/git2/revparse.h')
0 files changed, 0 insertions, 0 deletions