mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
The index field in the commit object is used to find the buffer corresponding to that commit in the buffer_slab. Resetting it first means free_commit_buffer is not going to free the right buffer. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
39 KiB
39 KiB