[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091224064556.GA26621@liondog.tnic>
Date: Thu, 24 Dec 2009 07:45:56 +0100
From: Borislav Petkov <petkovbb@...glemail.com>
To: Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] scripts/get_maintainer.pl: add support to read patch
from STDIN
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
Just do it as it is done at http://lkml.indiana.edu/hypermail/linux/kernel/0801.1/1654.html
--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists