5 Commits

Author SHA1 Message Date
Bobby R. Bruce
1502f7c09f misc: Add black update change to .git-blame-ignore-rev
Change-Id: Ief04aec128bc48e66b79fc2f5c474948dd5eb9eb
2023-10-10 14:02:37 -07:00
Bobby R. Bruce
96144f90ed misc: Add pre-commit run to .git-blame-ignore-revs
Change-Id: Iaae9d735e2972e41f1f9225ea5bed9acf22ff991
2023-09-05 00:01:35 -07:00
Giacomo Travaglini
069688df35 misc: Update the .git-blame-ignore-revs to ignore flynt commit
This [1] is just a cosmetic change which shouldn't affect functionalities.
We might want to ignore it when running git blame

[1]: https://gem5-review.googlesource.com/c/public/gem5/+/68957

Change-Id: I96e3308beb0bc6ad9638df137341bf611d4db5b1
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69037
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
2023-03-21 06:54:40 +00:00
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