From: Stephen Finucane Date: Wed, 27 Apr 2022 12:56:17 +0000 (-0400) Subject: Add git-blame-ignore-revs file X-Git-Tag: rel_2_0_0b1~327^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27828d668dd44a639053b83c6133fcaf17faf572;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add git-blame-ignore-revs file ### 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 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: #` 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: #` 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 --- diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..388d4fd151 --- /dev/null +++ b/.git-blame-ignore-revs @@ -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