To facilitate reading of history using either git log, gitk, … I suggest we consistently format commit messages by explicitly adding newlines.
Is there a commit hook that can do that?
Not that I am aware.
Using git gui (or any git frontend) should allow to easily format the message before running git svn dcommit.
Text editor like vim, emacs can also be configured to wrap lines while editing.
I like that I can take advantage of whatever screen size I have (if I make my window wider I see longer lines) and adding line breaks manually is a chore, but if everybody prefers short lines then I’m OK with it.
We have some hooks for checking commit message format (starts with ENH: …) but maybe that’s only for SVN?
Not true for TortoiseGit, which is the one I use (and most of the Windows people I know).
In general I find these limitations about line length unreasonable, especially introducing new ones. That said I can hit enter once in a while if that’s what the community requires.



