1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Add .git-blame-ignore-revs (#8464)

Ignore mass-reformatting commits
Include the clang-format, and the previous astyle

Based on the idea from black
https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame

To be used with git CLI when exploring some specific file history
```
$ git blame --ignore-revs-file .git-blame-ignore-revs -- file.cpp
```

Or, by modifying the config to apply globally
```
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
```
(note that the by default config will apply only for the current repository)
This commit is contained in:
Maxim Prokhorov 2022-02-20 19:29:13 +03:00 committed by Max Prokhorov
parent 19b7a29720
commit 24c41524dc

4
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,4 @@
9bdcd4f36a2e5285267b69b17e8fc26482dc1c72
eea9999dc5eaf464a432f77d5b65269f9baf198d
98125f88605cd7e46e9be4e1b3ad0600dd5d2b51
91213321df5d49622e7d03426da8366197fe0db0