]> code.ossystems Code Review - openembedded-core.git/commit
patch.py: Prevent git repo reinitialization
authorPavel Zhukov <pavel@zhukoff.net>
Mon, 21 Feb 2022 19:17:29 +0000 (20:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Feb 2022 12:39:00 +0000 (12:39 +0000)
commit80500ecda4c1bc8812e6e078b6b0db5ec46624de
treee84ba5128cda8f7f7ea7a33aa580ada629f9d915
parentb9e4e6bf1d4d0b7e9e80240f4b283995c58c10fe
patch.py: Prevent git repo reinitialization

There were few bugs in the _isInitialized() function which might trigger
git repo to be reinitialized and patches failing to apply.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-selftest/recipes-test/gitrepotest/gitrepotest.bb [new file with mode: 0644]
meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch [new file with mode: 0644]
meta/lib/oe/patch.py
meta/lib/oeqa/selftest/cases/bbtests.py