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 2022/11/07 10:52:23 UTC

[incubator-pekko] branch main updated: Add documentation for git blame on ignoring formatting commits

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.git


The following commit(s) were added to refs/heads/main by this push:
     new 373e87edaa Add documentation for git blame on ignoring formatting commits
373e87edaa is described below

commit 373e87edaae027acf4869540daa8467007f89aac
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Mon Nov 7 11:32:20 2022 +0100

    Add documentation for git blame on ignoring formatting commits
---
 CONTRIBUTING.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 302760f226..6cf9eb2788 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -417,6 +417,16 @@ Enable Travis CI #1
 * Details 3
 ```
 
+### 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.
+
+```shell
+git config blame.ignoreRevsFile .git-blame-ignore-revs
+```
+
 ### Pull request validation workflow details
 
 Akka uses GitHub Actions to validate pull requests, which involves checking code style, run tests, check binary compatibility, etc.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org