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 to track commits that cause massive formatting changes #1781

Closed
timwoj opened this issue Sep 16, 2021 · 0 comments · Fixed by #1833
Closed

Add .git-blame-ignore-revs to track commits that cause massive formatting changes #1781

timwoj opened this issue Sep 16, 2021 · 0 comments · Fixed by #1833

Comments

@timwoj
Copy link
Contributor

timwoj commented Sep 16, 2021

Some of our recent changes (one of them being clang-format) will likely cause issues with commands such as git blame. With later versions of git, it's possible to collect all of the offending commits into a file and pass an argument to git blame to ignore them.

See https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame for more details.

timwoj added a commit that referenced this issue Nov 3, 2021
* topic/timw/1781-git-blame-ignore-revs:
  GH-1781: Add .git-blame-ignore-revs file
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 a pull request may close this issue.

1 participant