]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patch.py: set commituser and commitemail for addNote
authorChangqing Li <changqing.li@windriver.com>
Wed, 2 Apr 2025 06:29:01 +0000 (14:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Apr 2025 10:05:48 +0000 (11:05 +0100)
commita3c6706d31ae1345b571ca10b290a4e1f5a9384b
treec01ca488b2dd863267b9ca0b208360f3a1d95512
parent98be0514b9dcb77b7520f5b6a9edef7a7a7859ac
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"

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py