Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions doc/contributing/pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,13 @@ A good commit message should describe what changed and why.

3. Wrap all other lines at 72 columns (except for long URLs).

4. If your patch fixes an open issue, you can add a reference to it at the end
of the log. Use the `Fixes:` prefix and the full issue URL. For other
references use `Refs:`.
4. If your patch fixes an open issue, include a reference in the pull request
description. Use the `Fixes:` prefix and the full issue URL. For other
references, use `Refs:`.

`Fixes:` and `Refs:` trailers get automatically added to your commit message
when the Pull Request lands as long as they are included in the
Pull Request's description. If the Pull Request lands in several commits,
by default the trailers found in the description are added to each commits.
`Fixes:` and `Refs:` trailers are automatically added to the commit message
when the pull request lands. If the pull request lands as several commits,
the trailers from the description are added to each commit by default.

Examples:

Expand All @@ -207,7 +206,7 @@ A good commit message should describe what changed and why.
This rule does not apply to dependency updates (e.g. cherry-picks), release
commits, or backport commits.

Sample complete commit message:
Sample final commit message after landing:

```text
subsystem: explain the commit in one line
Expand Down
Loading