Re: [PATCH] packfile: delete .idx files before .pack files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 20, 2023, 20:39 UTC
- Message-ID
- <xmqqwmzxlvgr.fsf@gitster.g>
- In-Reply-To
- <pull.1547.git.1687287675248.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
> However, when we delete packfiles, we do not do this in the reverse > order as we should. The unlink_pack_path() method deletes the .pack > followed by the .idx.
Makes sense.