From 2532e87029f8af2f7149053cb45f5bc7142f283f Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Thu, 15 Dec 2022 20:08:50 +0100 Subject: [PATCH] Add git-blame-ignore-revs --- .git-blame-ignore-revs | 10 ++++++++++ DEVELOPMENT.md | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 00000000..1eda14f3 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,10 @@ +# Set native parameter types +2b88322c0c1dcab3b0dd064ad880b0f31645da49 +# Set native return types +aff8826c9941d3f18984dcd4f220dd25ad547f42 +# Set native property types +b004f865b42886738d90f9915c1cccfcc3599322 +# Use constructor property promotion +984f8038d3ab096b6018a2df084fd158644bc080 +# Add useless comment phpcs sniff +c1d350f2b122ff7dff0c3a0ed2b3c0a515c176f6 diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d3d758ee..6f85fd1d 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -38,6 +38,13 @@ The following instructions explain how to get, build and run the latest Engelsys find resources/lang/ -type f -name '*.po' -exec sh -c 'file="{}"; msgfmt "${file%.*}.po" -o "${file%.*}.mo"' \; ``` +## Git setup (optional, recommended) +Ignore mass-changes like code formatting in Git blame: + +```bash +git config blame.ignoreRevsFile .git-blame-ignore-revs +``` + ## Testing To run the unit tests use ```bash