Hacker News new | past | comments | ask | show | jobs | submit login

This is true only if the formatter is introduced mid-project. Additionally, for git, it only messes up git-blame, you can still traverse the history and see changes prior to an autoformatting change.



It doesn't work for GUIs (e.g. github), but on the command line you can do `git blame -w` to ignore whitespace.


Github supports a ?w=1 param to do the same.

It disables the commenting interface on PRs however :(




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

Search: