Open garethsb opened 1 year ago
We discussed this on today's ARG call. We could fix the file with a commit or commits and list these in a .git-blame-ignore-revs
file. See https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/.
I've tested this on one of my repos and it mostly seems to work on the GitHub view (although did blame the commit on a blank line).
For command line use git blame --ignore-revs-file=.git-blame-ignore-revs
We don't have a
.gitattributes
file and it turns out we have python files stored with both LF and CRLF endings. Ouch. Would destroy use of blame if we fixed it though, right? Any ideas?