qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-4.0 4/4] checkpatch: colorize output to term


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH for-4.0 4/4] checkpatch: colorize output to terminal
Date: Thu, 29 Nov 2018 11:06:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 29/11/18 10:01, Paolo Bonzini wrote:
>  
> +if ($color =~ /^[01]$/) {
> +     $color = !$color;
> +} elsif ($color =~ /^always$/i) {

This first "if" is unnecessary, not sure why Linux has it (probably
because it implements --nocolor differently).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]