From: D. Ben Knoble Date: Sat, 19 Sep 2026 14:59:33 GMT Subject: Re: [BUG] reference-transaction reports zero OIDs for branch and tag deletion Message-ID: In-Reply-To: On Sat, Sep 19, 2026 at 9:34 AM Maciej Ciemborowicz wrote: > > Since Git 2.31, the reference-transaction hook receives all-zero old and > new object IDs when a branch or tag is deleted with a high-level command. [snip] > Was this loss of information intentional? If not, could the previous > object ID be restored for these deletion paths? If it is intentional, > the documentation may need to clarify that high-level deletion commands > can provide a zero-to-zero record. Since you seem to have identified a "good" and "bad" version with a reproduction script, I suspect "git bisect" is a good way to answer your questions about intent. -- D. Ben Knoble