Skip to content

Commit 4f6d8e3

Browse files
genednaclaude
andcommitted
v0.39.5: blame commit summary from the source body (FU-04A, #28)
GET /api/v1/blame derived commit_message / commit_summary with a helper that only knew PGP armor behind a leading `gpgsig ` header. Framed unsigned commits (e.g. a plain git push to an ImportRepo) got an empty summary, SSH-signed commits lost their whole message and `gpgsig-sha256` commits showed the signature block. blame_commit_text now uses the FU-01 helpers: commit_message = split_commit_message(..).body, commit_summary = commit_body_subject(body). Unframed multi-line legacy messages read the way Git reads the object (ADR-FU-01). No schema change; stored commits are not rewritten. Tests: blame_ops::tests::blame_commit_text_* (6), integration_api_write_trunk::import_repo_blame_summary_framed. Plan: docs/plan/plan-20260923.md FU-04A, inserted after FU-04 by user decision (Codex R2 PASS, Claude R2 PASS); DEFER-FU-16 tracks the other commit views that still use format_message(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Eli Ma <eli@patch.sh>
1 parent 512c86b commit 4f6d8e3

5 files changed

Lines changed: 187 additions & 48 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mega2"
3-
version = "0.39.4"
3+
version = "0.39.5"
44
edition = "2024"
55
# Two [[bin]] targets exist; keep `cargo run -p mega2` unambiguous.
66
default-run = "mega2"

0 commit comments

Comments
 (0)