AMWA-TV / nmos-testing

Testing tool for the AMWA NMOS Specifications
https://specs.amwa.tv/nmos-testing/
Apache License 2.0
40 stars 48 forks source link

EOL in python files #798

Open garethsb opened 1 year ago

garethsb commented 1 year ago

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?

peterbrightwell commented 1 month 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