mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Improve commit message style
This commit is contained in:
parent
1d530756ed
commit
9c0c5f8e37
1 changed files with 12 additions and 0 deletions
|
@ -63,6 +63,18 @@ After you are happy with the state of the code, please use [interactive rebase](
|
||||||
Avoid @mentioning people in commit messages and pull request descriptions(they are added to commit message by bors).
|
Avoid @mentioning people in commit messages and pull request descriptions(they are added to commit message by bors).
|
||||||
Such messages create a lot of duplicate notification traffic during rebases.
|
Such messages create a lot of duplicate notification traffic during rebases.
|
||||||
|
|
||||||
|
If possible, write commit messages from user's perspective:
|
||||||
|
|
||||||
|
```
|
||||||
|
# Good
|
||||||
|
Goto definition works inside macros
|
||||||
|
|
||||||
|
# Not as good
|
||||||
|
Use original span for FileId
|
||||||
|
```
|
||||||
|
|
||||||
|
This makes it easier to prepare a changelog.
|
||||||
|
|
||||||
## Clippy
|
## Clippy
|
||||||
|
|
||||||
We don't enforce Clippy.
|
We don't enforce Clippy.
|
||||||
|
|
Loading…
Reference in a new issue