--- commit-graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit-graph.c b/commit-graph.c index 21e853c21a..3f0c142603 100644 --- a/commit-graph.c +++ b/commit-graph.c @@ -304,7 +304,7 @@ static int find_commit_in_graph(struct commit *item, struct commit_graph *g, uin *pos = item->graph_pos; return 1; } else { - return bsearch_graph(commit_graph, &(item->object.oid), pos); + return bsearch_graph(g, &(item->object.oid), pos); } } -- 2.17.0.39.g685157f7fb
- [RFC PATCH 00/12] Integrate commit-graph into 'fsck' and 'g... Derrick Stolee
- [RFC PATCH 04/12] commit-graph: parse commit from chos... Derrick Stolee
- Re: [RFC PATCH 04/12] commit-graph: parse commit f... Jakub Narebski
- [RFC PATCH 12/12] commit-graph: update design document Derrick Stolee
- [RFC PATCH 10/12] commit-graph: add '--reachable' opti... Derrick Stolee
- [RFC PATCH 07/12] commit-graph: load a root tree from ... Derrick Stolee
- Re: [RFC PATCH 07/12] commit-graph: load a root tr... Jakub Narebski
- [RFC PATCH 01/12] fixup! commit-graph: always load com... Derrick Stolee
- [RFC PATCH 06/12] commit: force commit to parse from o... Derrick Stolee
- Re: [RFC PATCH 06/12] commit: force commit to pars... Jakub Narebski
- [RFC PATCH 02/12] commit-graph: add 'check' subcommand Derrick Stolee
- Re: [RFC PATCH 02/12] commit-graph: add 'check' su... Jakub Narebski
- [RFC PATCH 08/12] commit-graph: verify commit contents... Derrick Stolee
- Re: [RFC PATCH 08/12] commit-graph: verify commit ... Jakub Narebski
- [RFC PATCH 09/12] fsck: check commit-graph Derrick Stolee
- Re: [RFC PATCH 09/12] fsck: check commit-graph Jakub Narebski
- [RFC PATCH 03/12] commit-graph: check file header info... Derrick Stolee
- Re: [RFC PATCH 03/12] commit-graph: check file hea... Jakub Narebski