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 · 3 comments
Open

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

xclaesse opened this issue Mar 21, 2023 · 3 comments

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?

@LemmingAvalanche
Copy link

https://lore.kernel.org/git/[email protected]/T/#m7de031567549fd4ecfd8a340bd4387880fef3886

@alexniberud

This comment has been minimized.

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

4 participants