Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755958AbZLXGqF (ORCPT ); Thu, 24 Dec 2009 01:46:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754298AbZLXGqB (ORCPT ); Thu, 24 Dec 2009 01:46:01 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:35790 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754243AbZLXGqB (ORCPT ); Thu, 24 Dec 2009 01:46:01 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=haQtGy0WPQfjwGuM5ZCj2rvbYYwTFm0uGgMxvuVOJ82n+ajSRx0LGtNnBUmbXcQcWp IHZbry+HoS+noN9sn+zJ8UKzPdBzdO3xRKSBdUX7Mlp7wAmXQ7c0+MCoZDFzL5UsSyJN Liz8R+EB4XfbO3r5MZ0FgNL0Ox6C8maYNpMiU= Date: Thu, 24 Dec 2009 07:45:56 +0100 From: Borislav Petkov To: Joe Perches Cc: Andrew Morton , lkml Subject: Re: [PATCH] scripts/get_maintainer.pl: add support to read patch from STDIN Message-ID: <20091224064556.GA26621@liondog.tnic> Mail-Followup-To: Borislav Petkov , Joe Perches , Andrew Morton , lkml References: <9ea470500912230555k6b72407al730da6361d8aba0f@mail.gmail.com> <1261610824.1923.58.camel@Joe-Laptop.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1261610824.1923.58.camel@Joe-Laptop.home> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 25 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/