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

Make blame.ignoreRevsFile .git-blame-ignore-revs the default #1494

Open
xclaesse opened this issue Mar 21, 2023 · 1 comment
Open

Make blame.ignoreRevsFile .git-blame-ignore-revs the default #1494

xclaesse opened this issue Mar 21, 2023 · 1 comment

Comments

@xclaesse
Copy link

Some projects to have a .git-blame-ignore-revs file to ignore e.g. coding style reformatting commits. GitHub uses that file by default: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view.

Alternatively, it would be nice to ignore error if the file does not exist, that way we can set the config globally without breaking every repo that does not have the file: git config --global blame.ignoreRevsFile .git-blame-ignore-revs.

@HazemRawi
Copy link

Hello,
Can I work on this issue as a microproject for GSoC?

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

No branches or pull requests

2 participants