Thread (52 messages) 52 messages, 5 authors, 13d ago

Re: [BUG] reference-transaction reports zero OIDs for branch and tag deletion

flat view

From: D. Ben Knoble <hidden>
Date: 2026-09-19 14:59:46

On Sat, Sep 19, 2026 at 9:34 AM Maciej Ciemborowicz
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help