summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2018-03-14 15:27:32 -0400
committerJunio C Hamano <gitster@pobox.com>2018-03-14 13:58:14 -0700
commit0b6d9dccc723077584bbd2fd46f5082b299cfaff (patch)
treed0e511b5373baadff292cf8e186105358d5a1e44 /commit.c
parenta485803758cb4160d7819238623e9e71ec54e9c0 (diff)
downloadgit-0b6d9dccc723077584bbd2fd46f5082b299cfaff.tar.gz
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.c')
0 files changed, 0 insertions, 0 deletions