| 720 | } |
| 721 | |
| 722 | struct commit_graph *read_commit_graph_one(struct odb_source *source) |
| 723 | { |
| 724 | struct commit_graph *g = load_commit_graph_v1(source); |
| 725 | |
| 726 | if (!g) |
| 727 | g = load_commit_graph_chain(source); |
| 728 | |
| 729 | return g; |
| 730 | } |
| 731 | |
| 732 | /* |
| 733 | * Return 1 if commit_graph is non-NULL, and 0 otherwise. |