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
other: Ignore formatting commits in git blame #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super addition!
Made an ignoreable suggestion
Needed to update the ubuntu image to make sure CI builds pass - related to algorand/indexer#1545 |
@@ -33,7 +33,7 @@ jobs: | |||
python-version: | |||
type: string | |||
machine: | |||
image: "ubuntu-2004:202104-01" | |||
image: "ubuntu-2204:2022.04.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warty Warthog calling! 🐖
Adds a
.git-blame-ignore-revs
to exclude formatting commits in the git history. This makes it easier to trace the git blame from source code. To enable locally, you may have to edit your Git settings:git config blame.ignoreRevsFile .git-blame-ignore-revs
.Visually confirmed in the Github blame viewer on this branch - there are some occasional lines that slip through, but I think it's a problem with the UI.