diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2018-07-11 15:42:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-17 15:47:48 -0700 |
commit | 5faf357b4314fcc7976f75c7f3ba205d9eba8e77 (patch) | |
tree | 2b520e2238d88b96cacdf90bd4378c193a61250f /compat/pread.c | |
parent | Merge branch 'ds/commit-graph-fsck' into jt/commit-graph-per-object-store (diff) | |
download | tgif-5faf357b4314fcc7976f75c7f3ba205d9eba8e77.tar.xz |
commit-graph: refactor preparing commit graph
Two functions in the code (1) check if the repository is configured for
commit graphs, (2) call prepare_commit_graph(), and (3) check if the
graph exists. Move (1) and (3) into prepare_commit_graph(), reducing
duplication of code.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions