diff options
author | 2021-09-19 22:55:56 -0400 | |
---|---|---|
committer | 2021-09-19 20:57:59 -0700 | |
commit | 58c1b364419ffef8aeb1cb383a2d433314cacd09 (patch) | |
tree | a35ac47aa138042af810b4f0a0d9c8c2548a5ff6 | |
parent | Add github action to check black formatting (diff) | |
download | portage-58c1b364.tar.gz portage-58c1b364.tar.bz2 portage-58c1b364.zip |
Added rev ignore file, to make git blame more usable
Closes: https://github.com/gentoo/portage/pull/745
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | .gitignorerevs | 2 | ||||
-rw-r--r-- | README.md | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/.gitignorerevs b/.gitignorerevs new file mode 100644 index 000000000..9381d12ad --- /dev/null +++ b/.gitignorerevs @@ -0,0 +1,2 @@ +# Run entire repository through black. Also, change tabs to spaces +1bb64ff4520354688a82f4b267b028db913798f4 @@ -30,6 +30,13 @@ editor integration. Something like this: black --check --diff . ``` +To ignore commit 1bb64ff452 - which is a massive commit that simply formatted +the code base using black - you can do the following: + +```sh +git config blame.ignoreRevsFile .gitignorerevs +``` + Dependencies ============ |