diff options
author | Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com> | 2024-11-19 10:41:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-21 12:16:28 +0000 |
commit | 79ef781499f5bf219dae338882eefe7d4f800304 (patch) | |
tree | b6c737c3f800b6b4602c904fd42d677332d97c4d /meta/conf/cve-check-map.conf | |
parent | 392658c663acb302ff577cd512309c354259d1b4 (diff) | |
download | poky-79ef781499f5bf219dae338882eefe7d4f800304.tar.gz |
scripts: patchreview: fix failure when running from a different folder
When running patchreview with --blame, the scripts runs a git log
command on the analyzed patch. When trying to analyse a layer which is
not in poky tree, we might be running the git log command from outside
the git workspace where the file is located, which results in such
failures:
Missing Signed-off-by tag ([truncated]/meta-qcom-hwe/recipes-devtools/partition-utils/qcom-ptool/0001-ptool.py-Generate-zero-files-in-output-folder-when-s.patch)
fatal: not a git repository (or any parent up to mount point /local/mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Fix this situation by setting the current work dir inside the git
workspace of the patch when running git log.
(From OE-Core rev: 8cc1c900b91d60e633f62bfe16a2ffc2d61c3f55)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/cve-check-map.conf')
0 files changed, 0 insertions, 0 deletions