Repository navigation
Commit 4f6d8e3
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
- docs/plan
- src/ceres/api_service
- tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments