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

Yeah the git thing is just a dumb hangover from very old times that really should not exist anymore. The lines should be as long as they need to be, and the frontend like the git CLI or GitHub can wrap them if needed. Thats how we do it in literally any other sane context because the frontend has the information on the available display size. "ls" doesn't randomly force you into 80char columns it adjusts. I don't like break this comment every 50 chars either. Only in git world everyone accepts this insanity.

Join me, ignore the dumb red lines and make your commit message as long as you like. Linters are usually easy to configure and set to wrap at e.g 120 as well.



Github doesn't wrap them on code listing pages.




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

Search: