summaryrefslogtreecommitdiff
path: root/src/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.c')
-rw-r--r--src/graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.c b/src/graph.c
index ff0a8464a..28026d4b4 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -58,7 +58,7 @@ int git_graph_ahead_behind(size_t *ahead, size_t *behind, git_repository *repo,
if (git_revwalk_new(&walk, repo) < 0)
return -1;
- commit2 = commit_lookup(walk, two);
+ commit2 = git_revwalk__commit_lookup(walk, two);
if (commit2 == NULL)
goto on_error;
@@ -68,7 +68,7 @@ int git_graph_ahead_behind(size_t *ahead, size_t *behind, git_repository *repo,
list.length = 1;
list.contents = contents;
- commit1 = commit_lookup(walk, one);
+ commit1 = git_revwalk__commit_lookup(walk, one);
if (commit1 == NULL)
goto on_error;