mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
[docs] Clarify commit message formatting
Add a note to AGENTS.md to avoid passing literal \n sequences in commit bodies when using shell commands. Testing: not run (documentation-only change) Assisted-by: OpenAI Codex
This commit is contained in:
1 parent
d433fc3593
commit
fca580e928
1 file changed
+2
@@ -93,6 +93,8 @@ For API work:
|
||||
- Before any commit, run the entire test suite with `meson test -C build`.
|
||||
- Use descriptive commit messages with consistent bracketed subsystem prefixes such as `[subset]`, `[raster]`, `[util]`, or `[meson]`.
|
||||
- Wrap commit message bodies to about 70 columns.
|
||||
- When passing commit bodies through the shell, use real newlines, not literal
|
||||
`\n` escapes. Prefer `$'...'` quoting or a temporary commit message file.
|
||||
- Explain root cause, fix, and testing in the commit body when testing was actually performed or is relevant.
|
||||
- When relevant, link issues or PRs with trailers such as `Fixes:`.
|
||||
- Always include an `Assisted-by:` trailer on commits you write through the agent.
|
||||
|
||||
Reference in new issue
Block a user