mirror of
https://github.com/git/git.git
synced 2025-12-23 12:14:22 +01:00
In [1] and [2] I added the code being moved here to cmd_revert() and cmd_cherry_pick(), now that we've got a "replay_opts_release()" for the "struct replay_opts" it should know how to free these "revs", rather than having these users reach into the struct to free its individual members. 1.d1ec656d68(cherry-pick: free "struct replay_opts" members, 2022-11-08) 2.fd74ac95ac(revert: free "struct replay_opts" members, 2022-07-01) Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7.7 KiB
7.7 KiB