Merge branch 'jk/commit-graph-slab-clear-fix'
commit4cc0f8e8fa3694fdef632784592fc8af63022618
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jan 2024 18:11:58 +0000 (16 10:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jan 2024 18:11:58 +0000 (16 10:11 -0800)
tree7754f7dc32d60686444ddd5081dbc0d3a8742b9b
parentb27f67aa932e61906ad92bd09d3051d9c54eb148
parentd70f554cdf38b0b05cfaa8e8eb9f80d54a5ae11c
Merge branch 'jk/commit-graph-slab-clear-fix'

Clearing in-core repository (happens during e.g., "git fetch
--recurse-submodules" with commit graph enabled) made in-core
commit object in an inconsistent state by discarding the necessary
data from commit-graph too early, which has been corrected.

* jk/commit-graph-slab-clear-fix:
  commit-graph: retain commit slab when closing NULL commit_graph
commit-graph.c
t/t5510-fetch.sh