]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
patch.py: Prevent git repo reinitialization
authorPavel Zhukov <pavel@zhukoff.net>
Mon, 7 Mar 2022 10:30:26 +0000 (11:30 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 11 Mar 2022 03:21:49 +0000 (11:21 +0800)
commit29d86bcad4fc43e09d7499c3f6fba8c499170b9b
treebc25740f161f6a2d17949f67227a97074d97ecec
parentd0b1807edc10835beff9a55a105ac191b6ac2fe7
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>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
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