Re: [PATCH] checkpatch: Make git output use LANGUAGE=en_US.utf8

From: Sean Christopherson
Date: Tue Sep 03 2019 - 11:19:08 EST


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@xxxxxxxxx>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---

Reviewed-and-tested-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>