Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: /
Date: Mon, 20 Sep 2021 03:58:51
Message-Id: 1632110279.58c1b364419ffef8aeb1cb383a2d433314cacd09.zmedico@gentoo
1 commit: 58c1b364419ffef8aeb1cb383a2d433314cacd09
2 Author: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 20 02:55:56 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 20 03:57:59 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=58c1b364
7
8 Added rev ignore file, to make git blame more usable
9
10 Closes: https://github.com/gentoo/portage/pull/745
11 Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
13
14 .gitignorerevs | 2 ++
15 README.md | 7 +++++++
16 2 files changed, 9 insertions(+)
17
18 diff --git a/.gitignorerevs b/.gitignorerevs
19 new file mode 100644
20 index 000000000..9381d12ad
21 --- /dev/null
22 +++ b/.gitignorerevs
23 @@ -0,0 +1,2 @@
24 +# Run entire repository through black. Also, change tabs to spaces
25 +1bb64ff4520354688a82f4b267b028db913798f4
26
27 diff --git a/README.md b/README.md
28 index c176e8a3f..e75b430c6 100644
29 --- a/README.md
30 +++ b/README.md
31 @@ -30,6 +30,13 @@ editor integration. Something like this:
32 black --check --diff .
33 ```
34
35 +To ignore commit 1bb64ff452 - which is a massive commit that simply formatted
36 +the code base using black - you can do the following:
37 +
38 +```sh
39 +git config blame.ignoreRevsFile .gitignorerevs
40 +```
41 +
42 Dependencies
43 ============