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


The following commit(s) were added to refs/heads/main by this push:
     new 01ac686  Add .git-blame-ignore-revs
01ac686 is described below

commit 01ac6861de74e778c1d5a3c031cb71b7f21468ea
Author: Matthew de Detrich <[email protected]>
AuthorDate: Wed Sep 6 23:15:42 2023 +0200

    Add .git-blame-ignore-revs
---
 .git-blame-ignore-revs |  9 +++++++++
 CONTRIBUTING.md        | 10 ++++++++++
 2 files changed, 19 insertions(+)

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000..c155d26
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,9 @@
+# scalafmt
+84c1b7429c3f72464c286877a4f899be76506f6a
+d567b56404152ab2ecbce7fe175bd2edbd94e351
+00bf90001ac280393e486a96198328f6fe474a46
+b38615bf1e3a0e85cdcf7941c2a2f7562b893ede
+7a7f50fc8f283e3dc554468f0c2668fea1dbbcd5
+
+# javafmt
+869800d7424a5665fdbfb8530f453e37335b1f25
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9434ed1..8297146 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -156,3 +156,13 @@ Example:
 ## Source style
 
 pekko-persistence-cassandra uses [Scalafmt](https://scalameta.org/scalafmt/) 
to enforce some of the code style rules.
+
+## 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
+```


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to