geminispace.info

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/geminispace.info.git
Log | Files | Refs | README | LICENSE

commit 24167257f42d88aefd90de3f45962c1d6cc99e65
parent b087fd6439ead0f9ff7b50e29751878ce948e96a
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Fri,  6 Nov 2020 08:56:01 -0500

Add .git-blame-ignore-revs file

As of Git 2.23, this can be used to exclude commits in Git blame
calculations. This is really helpful in excluding bulk
change/reformatting commits that don't do anything to affect code
functionality, but touch lots of files, and can make the commit
history more difficult to follow.

Per the official documentation
[here](https://www.git-scm.com/docs/git-blame), you can take advantage
of this manually like so:

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

Additionally, you can set this up as a persistent repo-level
configuration setting like so, if so desired:

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

Diffstat:
A.git-blame-ignore-revs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# Reformat code with Black +43397bdda337c7a0f31019358bd56eb0ae87a993