Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Google doesn't use Git internally, and its code search and source control tools expose the concept of "show blame before this change", so in practice reformats like this aren't troublesome with regard to blame.


This is true but I think it would still be nice for VCS to have a first class concept of "peek through" changes (whitespace, formatting, etc.) for the purpose of blame.


It does. Just put ignored commits in a file: https://docs.github.com/en/repositories/working-with-files/u...


Thanks! Didn't know about this cool feature.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: