]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add git-blame-ignore-revs file
authorStephen Finucane <stephen@that.guru>
Wed, 27 Apr 2022 12:56:17 +0000 (08:56 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Wed, 27 Apr 2022 12:56:18 +0000 (08:56 -0400)
<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description

This is helpful when using git-blame on files that 'black' heavily modified back in 2019'ish. While git doesn't specify this name, there seems to be a general convention around using this. See Django [1] and Twisted [2], for example.

[1] https://github.com/django/django/blob/main/.git-blame-ignore-revs
[2] https://github.com/twisted/twisted/blob/trunk/.git-blame-ignore-revs

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.
- [x] None of the above
- This is infra-related

**Have a nice day!**

Closes: #7964
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7964
Pull-request-sha: 4be7330a51ee48e360e10a7c5a6d90fea62a9515

Change-Id: I49863f629a64a5320d9d851d1220400fb45dead9

.git-blame-ignore-revs [new file with mode: 0644]

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644 (file)
index 0000000..388d4fd
--- /dev/null
@@ -0,0 +1,9 @@
+# This file contains a list of revisions that the SQLAlchemy maintainers
+# consider unimportant for git blame purposes because they are pure refactoring
+# changes and unlikely to be the cause of bugs. You can configure git to use
+# this file by configuring the 'blame.ignoreRevsFile' setting. For example:
+#
+#   $ git config --local blame.ignoreRevsFile .git-blame-ignore-revs
+#
+1e1a38e7801f410f244e4bbb44ec795ae152e04e  # initial blackification
+1e278de4cc9a4181e0747640a960e80efcea1ca9  # follow up mass style changes