]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #95342 - jyn514:ignore-revs, r=Mark-Simulacrum
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 6 Apr 2022 21:06:04 +0000 (23:06 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 21:06:04 +0000 (23:06 +0200)
commit86ddbf236e3fa891822cb31d7ca2b0b51f164146
tree928057286ba4b5c9c808b9226d9ff1687ff1e526
parentc2afaba465e0bf44b9b37beba8d908b78dcdadc7
parent7a9549a50021c0aa1d8e4417cd160db2707b7dc2
Rollup merge of #95342 - jyn514:ignore-revs, r=Mark-Simulacrum

Ignore "format the world" commit in git blame

This tells github to hide it in its blame view: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
It can also be used locally by running `git config blame.ignorerevsfile .git-blame-ignore-revs` (although it's advised to avoid `--global` since git gives a hard error when the file doesn't exist).

We may want to add more commits in later PRs, but this should be a good start.

Before: ![image](https://user-images.githubusercontent.com/23638587/160255130-d7283cc4-4d33-4a7d-bc70-f9ce6820293c.png)
After: ![image](https://user-images.githubusercontent.com/23638587/160255138-90d0325a-e063-4e0e-8cfb-732724bf6c60.png)
cc https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/Hide.20some.20commits.20in.20GitHub.20blame