lkml.org 
[lkml]   [2009]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 10/18] scripts/get_maintainer.pl - change "die" to "warn" when command line file is not a patch
    Date
    fixes git send-email with a cover letter

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    scripts/get_maintainer.pl | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
    index 951cb95..9c21826 100755
    --- a/scripts/get_maintainer.pl
    +++ b/scripts/get_maintainer.pl
    @@ -165,7 +165,7 @@ foreach my $file (@ARGV) {
    }
    close(PATCH);
    if ($file_cnt == @files) {
    - die "$P: file '${file}' doesn't appear to be a patch. "
    + warn "$P: file '${file}' doesn't appear to be a patch. "
    . "Add -f to options?\n";
    }
    @files = sort_and_uniq(@files);
    --
    1.6.3.1.10.g659a0.dirty


    \
     
     \ /
      Last update: 2009-05-24 04:45    [W:3.102 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site