[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190903151906.GB10768@linux.intel.com>
Date: Tue, 3 Sep 2019 08:19:06 -0700
From: Sean Christopherson <sean.j.christopherson@...el.com>
To: Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...onical.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] checkpatch: Make git output use LANGUAGE=en_US.utf8
On Sun, Sep 01, 2019 at 12:29:25PM -0700, Joe Perches wrote:
> git output parsing depends on the language being en_US english.
>
> Make the backtick execution of all `git <foo>` commands set the
> LANGUAGE of the process to en_US.utf8 before executing the actual
> command using `export LANGUAGE=en_US.utf8; git <foo>`.
>
> Because the command is executed in a child process, the parent
> LANGUAGE is unchanged.
>
> Reported-by: Sean Christopherson <sean.j.christopherson@...el.com>
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
Reviewed-and-tested-by: Sean Christopherson <sean.j.christopherson@...el.com>
Powered by blists - more mailing lists