Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add .git-blame-ignore-revs #1087

Merged
merged 2 commits into from
Oct 14, 2023
Merged

add .git-blame-ignore-revs #1087

merged 2 commits into from
Oct 14, 2023

Conversation

briantist
Copy link
Contributor

Related:

Adding this file to aid in git blame operations. We're having it ignore some big repo-wide changes. One of them was when the project switched to black and reformatted almost every file, and the other was when we introduced a typo checker and fixed up all the typos throughout the repository.

GitHub will use this file in its blame views: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

To use this file locally, you must opt-in to it:

git config blame.ignorerevsfile=.git-blame-ignore-revs

If you are using other tools that display blame information, they may work correctly by setting git config alone, or they may require additional configuration.

@briantist briantist added misc Used as a release-drafter "category" developer experience Developer setup and experience labels Oct 14, 2023
@briantist briantist added this to the 2.0.0 milestone Oct 14, 2023
@briantist briantist self-assigned this Oct 14, 2023
@briantist briantist requested a review from a team as a code owner October 14, 2023 19:17
@briantist
Copy link
Contributor Author

cc @dosisod

@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #1087 (acd8c29) into main (6c31f14) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1087   +/-   ##
=======================================
  Coverage   86.99%   86.99%           
=======================================
  Files          64       64           
  Lines        3115     3115           
=======================================
  Hits         2710     2710           
  Misses        405      405           

@briantist briantist merged commit e825d35 into hvac:main Oct 14, 2023
33 checks passed
@briantist briantist deleted the git/ignore-revs branch October 14, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer experience Developer setup and experience misc Used as a release-drafter "category"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant