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

“Fix lint” commits also taint git blame.

You could perhaps add some kind of filter to git blame to automatically skip commits whose message is “fix lint” but at some point the cure is worse than the disease.

I also see people argue that merge commits make git bisect harder than squashing in the first place but there is a third option: rebase and fast forward. If every commit in your branch is clean and stand-alone that’s viable. Linter fix commits break that paradigm.



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

Search: