ソースを参照

Add a list of hashes to ignore during git blame. (#9560)

The hashes are from commits due to auto-formatting, e.g. running black.

git can be configured to use this automatically by running the following:

    git config blame.ignoreRevsFile .git-blame-ignore-revs
tags/v1.30.0rc1
Patrick Cloke 3年前
committed by GitHub
コミット
3ce650057d
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
3個のファイルの変更10行の追加0行の削除
  1. +8
    -0
      .git-blame-ignore-revs
  2. +1
    -0
      changelog.d/9560.misc
  3. +1
    -0
      setup.cfg

+ 8
- 0
.git-blame-ignore-revs ファイルの表示

@@ -0,0 +1,8 @@
# Black reformatting (#5482).
32e7c9e7f20b57dd081023ac42d6931a8da9b3a3

# Target Python 3.5 with black (#8664).
aff1eb7c671b0a3813407321d2702ec46c71fa56

# Update black to 20.8b1 (#9381).
0a00b7ff14890987f09112a2ae696c61001e6cf1

+ 1
- 0
changelog.d/9560.misc ファイルの表示

@@ -0,0 +1 @@
Add a `.git-blame-ignore-revs` file with the hashes of auto-formatting.

+ 1
- 0
setup.cfg ファイルの表示

@@ -3,6 +3,7 @@ test_suite = tests

[check-manifest]
ignore =
.git-blame-ignore-revs
contrib
contrib/*
docs/*


読み込み中…
キャンセル
保存