Skip to content
Snippets Groups Projects
Commit 4e40f75b authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Add a .git-blame-ignore-revs file to improve the output of git-blame(1) by...

Add a .git-blame-ignore-revs file to improve the output of git-blame(1) by ignoring large changes when introducing the Black source code reformatter and update the CONTRIBUTING.md guide on how to optionally use it locally.
parent d59dd2a9
No related branches found
No related tags found
No related merge requests found
Pipeline #103857 passed
21d754620fa846485fec3f4f46e8bc9d4311d1ec
75ea5c3970d6257cacd1a196a3c05622838de738
......@@ -18,6 +18,17 @@ about *Merge Requests*.
You can also submit bugs about Debian specific issues to the Debian bug
tracker.
## Git setup
diffoscope's codebase adheres to the output
[Black](https://black.readthedocs.io/) source code reformatter. Since this was
not always the case, the default output of `git-blame(1)` is not useful due to
large changes made when it was adopted.
As an optional step, you can ignore these commits using:
$ git config blame.ignoreRevsFile .git-blame-ignore-revs
## Testing
diffoscope's test suite relies on [pytest](https://docs.pytest.org/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment