From ea5dcd821d32c2a810a8dbe9cc672b8cbbb1066e Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sat, 10 Oct 2026 17:02:42 +0000 Subject: [PATCH] Keep the DCO sign-off in the trailer block A blank line before Co-Authored-By hid the sign-off from git's trailer parsing. Signed-off-by: Christoph Knittel Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index d8deaa2bc70..dcff6afd88a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -68,6 +68,11 @@ relevant guidance from each. ### Commit Standards - Use DCO sign-off: `Signed-Off-By: Your Name ` +- Put the sign-off in the final paragraph of the message, next to any other + trailers such as `Co-Authored-By:`, with no blank line between them. Git only + parses the last paragraph as trailers, so a sign-off separated by a blank + line doesn't count. Check with + `git log -1 --format=%B | git interpret-trailers --parse`. - Include appropriate tests with all changes - Build must pass before committing