]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patchtest: check for untracked changes
authorTrevor Gamblin <tgamblin@baylibre.com>
Thu, 19 Oct 2023 13:47:10 +0000 (09:47 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Oct 2023 13:53:08 +0000 (14:53 +0100)
commit2cc2dda6c3d5a97173b3fc434cc16ff2a930f43f
tree1a99621d82913d5ce90048ca05290ed1d76ba188
parentc110e5708465a6becc611acf97f166302a17ebdf
patchtest: check for untracked changes

[YOCTO #15243]

Avoid overwriting local changes when running patchtest by checking for
anything unstaged or uncommitted in the target repo, and logging an
error if something is found. This will provide the user helpful feedback
if (for example) they forgot to commit a change for their patch under
test, and will leave the target repository in a reasonable state (rather
than a temporary branch created by patchtest).

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/patchtest