This is an automated email from the ASF dual-hosted git repository.

hepin pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-jdbc.git


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

commit 8da51878581f873343eacafbad79116265d05357
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat May 27 13:39:53 2023 +0200

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

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000..aaa9ce2
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,5 @@
+# scalafmt
+c69b4062b3530798e43287cc75a74ade11955b53
+
+# manual
+a48ac56bd5da81c39c12e6aeb67d5fa14f8f3593
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0743210..7e3d698 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -50,6 +50,16 @@ Which licenses are compatible with Apache 2 are defined in 
[this doc](https://ww
 
 > Each license in this category requires some degree of 
 > [reciprocity](https://www.apache.org/legal/3party.html#define-reciprocal); 
 > therefore, additional action must be taken in order to minimize the chance 
 > that a user of an Apache product will create a derivative work of a 
 > reciprocally-licensed portion of an Apache product without being aware of 
 > the applicable requirements.
 
+### 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
+```
+
 ## Creating Commits And Writing Commit Messages
 
 Follow these guidelines when creating public commits and writing commit 
messages.


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

Reply via email to