lkml.org 
[lkml]   [2009]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scripts/get_maintainer.pl: add support to read patch from STDIN
On Thu, Dec 24, 2009 at 07:45:56AM +0100, Borislav Petkov wrote:
> On Wed, Dec 23, 2009 at 03:27:04PM -0800, Joe Perches wrote:
> > On Wed, 2009-12-23 at 14:55 +0100, Borislav Petkov wrote:
> > > Teach get_maintainer.pl to read a diff from STDIN
> >
> > How about this instead?
> >
> > Doesn't need or accept '-' as a trailing option to read stdin.
> > Doesn't print usage() after bad options.
> > Adds --usage as command line equivalent of --help
>
> This breaks current usage and possibly other scripts:
>
> # git diff | ./scripts/get_maintainer.pl -
> ./scripts/get_maintainer.pl: file '-' not found

Sorry, too early here. What I meant was that it should be able to
receive both '-' and simply piped input (i.e., without '-'):

git diff | ./scripts/get_maintainer.pl -

as well as

git diff | ./scripts/get_maintainer.pl

IMO.

--
Regards/Gruss,
Boris.


\
 
 \ /
  Last update: 2009-12-24 07:57    [W:0.047 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site