summaryrefslogtreecommitdiff
path: root/commit-graph.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2018-07-11 22:42:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-17 22:47:48 (GMT)
commit5faf357b4314fcc7976f75c7f3ba205d9eba8e77 (patch)
tree2b520e2238d88b96cacdf90bd4378c193a61250f /commit-graph.h
parent8295296458bfa5e371dccae0a0e0a4b9a56f9b40 (diff)
downloadgit-5faf357b4314fcc7976f75c7f3ba205d9eba8e77.zip
git-5faf357b4314fcc7976f75c7f3ba205d9eba8e77.tar.gz
git-5faf357b4314fcc7976f75c7f3ba205d9eba8e77.tar.bz2
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 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions