diff options
author | Changqing Li <changqing.li@windriver.com> | 2025-04-09 10:39:48 +0800 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-04-16 06:41:24 -0700 |
commit | dcf9e34e51814b9fd772b205725623306eb88894 (patch) | |
tree | 449bf95fc3dd58cee07311625aa50de592f6174e /scripts/lib/scriptpath.py | |
parent | 0b1e8f405cfbc8afd4f4517ed78e28af517896df (diff) | |
download | poky-dcf9e34e51814b9fd772b205725623306eb88894.tar.gz |
patch.py: set commituser and commitemail for addNote
When PATCHTOOL is set to 'git', and user don't setup
user.name and user.email for git, do_patch fail with
the following error, fix by passing -c options.
CmdError("git notes --ref refs/notes/devtool append -m 'original patch: 0001-PATCH-increase-to-cpp17-version.patch' HEAD", 0, 'stdout:
stderr: Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
(From OE-Core rev: 9de38ac99c2b19f549c00ea5277faf621c6f4e65)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions