
26 Feb
2007
26 Feb
'07
10:57 p.m.
Grant Likely wrote:
hehehe, that's a lot of work for a simple thing. Drop the git-commit -m flag and use -F instead to add the commit log from a file (or use neither and git-commit will bring up an editor).
I haven't tried it, but according to the online help, -F sets the commit *message*, which is the one-line text that becomes the subject line. git-commit.txt contains the block of text that appears above the "diff" line.
You can also use -s to add your signoff line too.
I do use -s:
PATCHFILE=`git-format-patch -s $IGNOREEOL HEAD^ `
--
Timur Tabi
Linux Kernel Developer @ Freescale