Commit Graph

2 Commits

Author SHA1 Message Date
Bobby R. Bruce
dbee7bea9f misc: Add Black style update to .git-blame-ignore-revs
This commit adds a commit which applied Python Black to all Python
files, to .git-blame-ignore-revs.

.git-blame-ignore-revs contains commits that should be ignored from git
blame. It can be setup using:

```
git config --global blame.ignoreRevsFile .git-blame-ignore-revs
```

Change-Id: I02c309a40ea7d3b9ef3e6ecb05d98e1e333585a9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62052
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
2022-08-05 04:58:23 +00:00
Daniel R. Carvalho
3b8ffa5cca misc: Add a file to ignore revisions on git blame
Add the file .git-blame-ignore-revs to store the hash
of the commits that should be ignored on a git blame.
The commit hash should be added after the commit has
been merged. New hashes should be added as the first
line of the file.

Add some initial contents with commits that only fix
the style.

Usage example:

  git blame file.py --ignore-revs-file .git-blame-ignore-revs

To always ignore from this file on git blames:

  git config blame.ignoreRevsFile .git-blame-ignore-revs

Change-Id: Idd29cb933d4157f1650658acc7efc1bd142fa7c7
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/43594
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2021-03-30 13:10:57 +00:00