From: Junio C Hamano Date: Mon, 29 May 2006 09:16:35 GMT Subject: Re: [PATCH] Automatically line wrap long commit messages. Message-ID: <7virnp8a30.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060529085738.GB29500@spearce.org> Shawn Pearce writes: > When using -m on the command line with git-commit it is not uncommon > for a long commit message to be entered without line terminators. > This creates commit objects whose messages are not readable in > 'git log' as the line runs off the screen. > > So instead reformat log messages if they are supplied on the > command line. > > Signed-off-by: Shawn O. Pearce > --- > This one might cause some problems for people. I am already moderately negative on multiple -m so in the light of it this one looks totally unneeded. You could do a number of things: $ git commit -m 'This is my message. This is the first line of the message body.' $ cat >L <