Re: [PATCH] checkpatch: relax check for revert commit

From: Joe Perches
Date: Mon Apr 09 2018 - 06:50:44 EST


On Mon, 2018-04-09 at 14:37 +0800, Jia He wrote:
>
> On 4/9/2018 1:07 AM, Joe Perches Wrote:
> > On Sun, 2018-04-08 at 10:12 +0800, Jia He wrote:
> > > Hi Andy & Joe
> > >
> > > Although it is minor, it is a real bug, I thought.
> > >
> > > Is there any comment? Thank you
> >
> > If you really want to do something useful here,
> > quote the quote characters and compare for that.
> >
> >
>
> Hi Joe, thanks for the comments
> I am not sure I understand you comments here.

Change the tests to allow quote characters instead
of ignoring them.

To do this matching, any internal quote character in
the actual commit string and the commit string from the
patch must be perl quoted with \Q<string>\E so that the
expected title can be matched properly.