Re: [PATCH] refs: cleanup directories when deleting packed ref
- From
- Will Chandler <wfc@wfchandler.org>
- Date
- May 8, 2021, 04:27 UTC
- Message-ID
- <YJYTQYk5q8g6HaIm@mini.wfchandler.org>
- In-Reply-To
- <YJXF4xA0GFx2/2v4@coredump.intra.peff.net>
On Fri, May 07, 2021 at 06:57:39PM -0400, Jeff King wrote:
Show 5 quoted lines
> Getting back to your patch, though, you are definitely fixing a problem > with update-ref (which correctly realizes there is no loose ref to clean > up, but forgets that we had to make a lockfile). And the solution you > have looks correct. I think you just need to update the test to exercise > it with "update-ref -d".
Thanks for the thorough analysis! Apologies for the confusion, I really appreciate your patience.
I'll get the test fixed and note that this is specific to 'update-ref'.