]> Git Repo - linux.git/commit
checkpatch: make git output use LANGUAGE=en_US.utf8
authorJoe Perches <[email protected]>
Wed, 25 Sep 2019 23:46:52 +0000 (16:46 -0700)
committerLinus Torvalds <[email protected]>
Thu, 26 Sep 2019 00:51:39 +0000 (17:51 -0700)
commitdbbf869da3adeba4a6beae4ecc184e47a16d078d
treeebc13e55874253fa9a0421b1644a96117bd44be9
parent5a7f4455ad321400e1361ab94fd6858c5b2fe0cf
checkpatch: make git output use LANGUAGE=en_US.utf8

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.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Sean Christopherson <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Tested-by: Sean Christopherson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl
This page took 0.050075 seconds and 4 git commands to generate.