[PATCH 3/6] build: ignore scissor line for the commit-msg hook
peter at lekensteyn.nl
Wed Jul 22 21:17:13 CEST 2015
On Wed, Jul 22, 2015 at 01:54:09PM +0200, Werner Koch wrote:
> On Thu, 9 Jul 2015 17:11, peter at lekensteyn.nl said:
> > * build-aux/git-hooks/commit-msg: Stop processing more lines when the
> > scissor line is encountered.
> > --
> > This allows the command `git commit -v` to work even if the code is
> > longer than 72 characters. Note that comments are already ignored by the
> > previous line.
> So this is to allow overlong lines in commit messages?
Yes, it allows overlong lines in the draft commit message which are
removed on exit.
> --cleanup=scissor seems to be a newer option. I think this is useful in
> some cases. I will propagate your patch to the other packages.
This option was introduced with git v1.8.5-rc2-7-g1a72cfd.
More information about the Gcrypt-devel