Re: [RFC PATCH 1/2] checkpatch: Correctly detect git commit references that span 3 lines

From: Andrew Donnellan
Date: Mon Aug 06 2018 - 04:37:49 EST


On 06/08/18 15:07, Joe Perches wrote:
The multiple line block code can be difficult to read.

I 100% agree!

My suggestion is to instead write a subroutine to get the
commit description and compare that against the returned
git commit description.

I'll try and do it up more neatly when I've got some spare time over the next few days and send a v2.

Thanks,
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@xxxxxxxxxxx IBM Australia Limited