You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/08/01 17:18:09 UTC
[incubator-pekko-management] branch main updated: Add .git-blame-ignore-revs to CONTRIBUTING.md
This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new bda53cab Add .git-blame-ignore-revs to CONTRIBUTING.md
bda53cab is described below
commit bda53cabea01d05fb43e055e35c381adbb5991c3
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Tue Aug 1 19:04:08 2023 +0200
Add .git-blame-ignore-revs to CONTRIBUTING.md
---
CONTRIBUTING.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4ef0a763..5096f076 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -92,6 +92,12 @@ The project uses [scalafmt](https://scalameta.org/scalafmt/) to ensure code qual
every PR. If you would like to check for any potential code style problems locally you can run `sbt checkCodeStyle`
and if you want to apply the code style then you can run `sbt applyCodeStyle`.
+### Ignoring formatting commits in git blame
+
+Throughout the history of the codebase various formatting commits have been applied as the scalafmt style has evolved over time, if desired
+one can setup git blame to ignore these commits. The hashes for these specific are stored in [this file](.git-blame-ignore-revs) so to configure
+git blame to ignore these commits you can execute the following.
+
## How To Enforce These Guidelines?
1. [CI](https://github.com/apache/incubator-pekko-management/actions) automatically merges the code, builds it, runs the tests and sets Pull Request status accordingly of results in GitHub.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org