[Git][reproducible-builds/diffoscope][master] Add a .git-blame-ignore-revs file to improve the output of git-blame(1) by...
Chris Lamb
gitlab at salsa.debian.org
Thu Jan 23 12:16:37 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
4e40f75b by Chris Lamb at 2020-01-23T12:15:18+00:00
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.
- - - - -
2 changed files:
- + .git-blame-ignore-revs
- CONTRIBUTING.md
Changes:
=====================================
.git-blame-ignore-revs
=====================================
@@ -0,0 +1,2 @@
+21d754620fa846485fec3f4f46e8bc9d4311d1ec
+75ea5c3970d6257cacd1a196a3c05622838de738
=====================================
CONTRIBUTING.md
=====================================
@@ -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/);
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/4e40f75b5b2e1754fcebe948dde686a5ed0fb0fd
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/4e40f75b5b2e1754fcebe948dde686a5ed0fb0fd
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200123/776684ed/attachment.htm>
More information about the rb-commits
mailing list