[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Detecting a non-empty second line in commit-msg hook
From: |
Greg Chicares |
Subject: |
Re: [lmi] Detecting a non-empty second line in commit-msg hook |
Date: |
Sat, 10 Dec 2016 00:59:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
On 2016-12-10 00:38, Vadim Zeitlin wrote:
> On Sat, 10 Dec 2016 00:22:08 +0000 Greg Chicares <address@hidden> wrote:
>
> GC> Is git silently removing trailing blanks from commit messages?
>
> The short answer is "yes".
Thanks for the snipped explanation; I'm not intrepid enough to search
the git sources myself, but I do have some chance of understanding
them somewhat when given a specific citation.
The short conclusion is that the commit-msg hook is okay as is.
It doesn't matter that it fails to flag anomalous blanks that git
will strip out anyway.