diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-18 21:44:38 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-19 14:11:16 +0200 |
commit | 2887934ca0385fa7da6d4c1a9654010b979708ab (patch) | |
tree | a015e95e529cff27805d44a54c874ef6cfa1e224 /test | |
parent | 7dc517ca6beefa4c72224c302eba6699fa878c30 (diff) |
utils: checkstyle.py: Support execution from non-root directories
The git diff command is invoked with relative paths, which causes git to
fail to locate files when the checkstyle.py script is run from
subdirectories of the git tree. Fix this by prepending the absolute path
to the git tree root directory to the file names.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions