• Joe Perches's avatar
    scripts/get_maintainer.pl: add --git-blame · f5492666
    Joe Perches authored
    Julia Lawall suggested that get_maintainers.pl should have the
    ability to include signatories of commits that are modified by
    a particular patch.
    
    Vegard Nossum did something similar once.
    http://lkml.org/lkml/2008/5/29/449
    
    The modified script looks the commits for all lines in the
    patch, and includes the "-by:" signatories for those commits.
    It uses the same git-min-percent, git-max-maintainers, and
    git-min-signatures options.  git-since is ignored.
    
    It can be used independently from the --git default, so
            ./scripts/get_maintainers.pl --nogit --git-blame <patch>
    or
            ./scripts/get_maintainers.pl --nogit --git-blame -f <file>
    is acceptable.
    
    If used with -f <file>, all lines/commits for the file are
    checked.
    
    --git-blame can be slow if used with -f <file>
    --git-blame does not work with -f <directory>
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f5492666
get_maintainer.pl 18.5 KB