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 file #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

viktormalik
Copy link
Member

The file contains the list of commits to ignore for git blame. For now, it contains the commit which reformatted all source files to comply with PEP8.

Usage: git blame --ignore-revs-file .git-blame-ignore-revs

The name is chosen on purpose as it is supported by GitHub.

@viktormalik
Copy link
Member Author

I'd suggest to add the first commit from #14 (once it's merged).

Copy link
Collaborator

@JiriPavela JiriPavela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good idea, I agree with merging this.

Contains the list of commits to ignore for `git blame`.
For now, there are two commits:
- the commit which reformatted all source files to comply with PEP8 and
- the commit that removed wildcard imports.

Usage:
    git blame --ignore-revs-file .git-blame-ignore-revs

The name is chosen on purpose as it is supported by GitHub [1].

[1] https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
@viktormalik
Copy link
Member Author

Added the commit from #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants