From cdf8e76ac66aca46f2fbfcbc239731c19eb6bec9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 15 May 2021 15:33:20 +0530 Subject: [PATCH] meta: add an ignore-revs file and document its use Signed-off-by: Harsh Shandilya --- .git-blame-ignore-revs | 3 +++ CONTRIBUTING.md | 2 ++ 2 files changed, 5 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..4b80277f --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,3 @@ +5e66d99c852ea67a88b650c03b0e8d55e83eccde # Package name restructure +774fda83ac276a635e3402034b1eedbd10be916f # Tree-wide reformat +7e2eb2425e7b9b6ccb37b7b89f19de3fa7a20c44 # Another tree-wide reformat to address a Spotless misconfiguration diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5bdc8acd..9a71054a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,6 +21,8 @@ The source code is split across 4 modules. In most scenarios, the `app` directory is where you'd be contributing changes to. While most of the code has been rewritten and documented, there are still gnarly "legacy" parts that might be challenging to understand at a glance. Please get in touch via the [Discussions](https://github.com/android-password-store/Android-Password-Store/discussions) page with any questions you have, and we'd love to explain and improve things. +We bundle a [`ignore-revs-file`](https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt) to ensure `git blame` is not affected by noisy changes. To make use of this, run `git config blame.ignoreRevsFile .git-blame-ignore-revs` from inside this repository. + ## Building the project ### Building with Gradle