lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scripts: add checkmaintainers.py
From
Date
On Tue, 2012-12-18 at 19:28 +0100, Borislav Petkov wrote:
> On Mon, Dec 17, 2012 at 11:09:43AM -0800, Joe Perches wrote:
> > This needs a new test here to avoid chirping
> > on files that aren't added, deleted or renamed.
> >
> > next if ($realfile eq $modifiedfile);
>
> Hmm, I don't think that catches file renames when using the normal 'git
> diff' output:

That depends on whether or not an actual patch follows.

This looks for the +++ and --- lines
in a patch.

If no patch is attached, you should get

ERROR: Does not appear to be a unified-diff format patch




\
 
 \ /
  Last update: 2012-12-18 21:21    [W:0.111 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site