summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-04-10 12:56:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-11 01:43:02 (GMT)
commit4f2542b49e1525ebde595a5254743579a28a7382 (patch)
treeecba6a331d4f8fabeec0f71207da6913401a5628 /alloc.c
parent1b70dfd5946f76e40516f2229afbf249f185bc7a (diff)
downloadgit-4f2542b49e1525ebde595a5254743579a28a7382.zip
git-4f2542b49e1525ebde595a5254743579a28a7382.tar.gz
git-4f2542b49e1525ebde595a5254743579a28a7382.tar.bz2
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 'alloc.c')
0 files changed, 0 insertions, 0 deletions