On Thu, 2020-06-11 at 15:59 +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <[email protected]> > > The execution of scripts/checkpatch.pl in folder outside of git produces > complains about invalid commit ID, despite having valid one.
There is already a slightly different test for this in -next It also uses a environment test for GIT_DIR. Try that one.

