You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7c77a2f
Browse filesBrowse the repository at this point in the historyBrowse files
Review item #2274 (comment)
reports that "reading them raises `AttributeError`" when native decoding has
no tagger, and requests preserving initialized fields through a CLI fallback.
Four SHA-1/SHA-256 regressions reproduce the native failure. The two cases
with a message also expose CLI loss of the first message line, so falling
back alone would not restore complete metadata.
Adapt `Tag.tagger()` returning `None` to the existing empty `Actor` and zero
date/offset defaults through `parse_actor_and_date("")`. Gix already exposes
the absence correctly; no new Git semantics or fallback is required. Make
the CLI parser recognize the optional tagger header and preserve the entire
message. Git 2.54.0's `tag.c::parse_tag_buffer()` accepts an absent tagger
and sets its date to zero. The existing GIX-28 strict writer gap remains open.
All four regressions now pass on both backends; the native cases forbid
`Git.execute()` during metadata access. Reference and CLI object/index tests
pass on CLI (105 tests, 24 subtests) and Gix (105 tests, 24 subtests).
Ruff, ShellCheck and mypy pass.
0 commit comments