Commit
Author: Manos Pitsidianakis [manos@pitsidianak.is]
Hash: c4344529e30b3385149d6dc3c1c4b34306a85491
Timestamp: Sat, 09 Dec 2023 16:54:11 +0000 (1 year ago)

+11 -0 +/-2 browse
Add .git-blame-ignore-revs file
Add .git-blame-ignore-revs file

See DEVELOPMENT.md for info.

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
1diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
2new file mode 100644
3index 0000000..eb74a0d
4--- /dev/null
5+++ b/.git-blame-ignore-revs
6 @@ -0,0 +1,2 @@
7+ # Use cargo-derivefmt to sort derives alphabetically
8+ f900dbea468e822c5a510a72ecc6367549443927
9 diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
10index 80a839b..41c7866 100644
11--- a/DEVELOPMENT.md
12+++ b/DEVELOPMENT.md
13 @@ -1,5 +1,14 @@
14 # Development
15
16+ ## use `.git-blame-ignore-revs` file _optional_
17+
18+ Use this file to ignore formatting commits from `git-blame`.
19+ It needs to be set up per project because `git-blame` will fail if it's missing.
20+
21+ ```sh
22+ git config blame.ignoreRevsFile .git-blame-ignore-revs
23+ ```
24+
25 ## Testing
26
27 How to run specific tests: