summaryrefslogtreecommitdiffstats
path: root/commit-graph.h
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-04-10 14:56:04 +0200
committerJunio C Hamano <gitster@pobox.com>2018-04-11 03:43:02 +0200
commit4f2542b49e1525ebde595a5254743579a28a7382 (patch)
treeecba6a331d4f8fabeec0f71207da6913401a5628 /commit-graph.h
parentcommit-graph: add core.commitGraph setting (diff)
downloadgit-4f2542b49e1525ebde595a5254743579a28a7382.tar.xz
git-4f2542b49e1525ebde595a5254743579a28a7382.zip
commit-graph: close under reachability
Teach write_commit_graph() to walk all parents from the commits discovered in packfiles. This prevents gaps given by loose objects or previously-missed packfiles. Also automatically add commits from the existing graph file, if it exists. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions