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

`git blame -w` to ignore whitespace. There are other good options (like `-M`, ignore moved lines) available in the documentation.


I really wish GitHub would show me all diffs with `-w` by default, with a switch to turn it off...


Adding a query parameter of w=1 to a github page with a diff will ignore whitespace changes.


Yep, but I end up sticking that parameter on to a lot of URLs, so I'd like that to happen for every time I view a diff.




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

Search: