checkpatch: enable GIT_DIR environment use to set git repository location

Linux Kernel / Linux Kernel - Joe Perches [perches.com] - 25 October 2020 18:36 UTC

If set, use the environment variable GIT_DIR to change the default .git location of the kernel git tree.

If GIT_DIR is unset, keep using the current ".git" default.

Link: https://lkml.kernel.org/r/c5e23b45562373d632fccb8bc04e563abba4dd1d.camel@perches.com

0f7f635b0648 checkpatch: enable GIT_DIR environment use to set git repository location
scripts/checkpatch.pl | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

Upstream: git.kernel.org


  • Share