commit-msg hook mistakes commit -v unified diff for part of the message

Miklos Vajna vmiklos at
Sat Mar 24 10:06:55 PDT 2012

Hi Will,

On Thu, Mar 22, 2012 at 11:31:41AM +0000, Will Thompson <will.thompson at> wrote:
> I don't know whether it's possible to tweak something so that the
> hook receives the message without the unified diff; otherwise,
> perhaps the hook should stop reading lines past something which
> looks like a unified diff header.

Actually it should stop reading lines after the first "# comment" line,
I think. ;-)

Should be fixed with


More information about the LibreOffice mailing list