diff options
author | Abhishek Kumar <abhishekkumar8222@gmail.com> | 2021-01-16 18:11:09 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-18 16:21:18 -0800 |
commit | 2f9bbb6d91cfd72028cd930ab7e19d5d4903e58a (patch) | |
tree | 9746425a0ec24c86c84734dc14620c9193811965 /commit-graph.c | |
parent | e30c5ee76cdd929efece1fc99302dce5b0aece0d (diff) |
revision: parse parent in indegree_walk_step()
In indegree_walk_step(), we add unvisited parents to the indegree queue.
However, parents are not guaranteed to be parsed. As the indegree queue
sorts by generation number, let's parse parents before inserting them to
ensure the correct priority order.
Signed-off-by: Abhishek Kumar <abhishekkumar8222@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions