diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-08-15 13:56:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-25 22:59:56 +0100 |
commit | 044c81bd916fbe7140d184eb103f74786cfef604 (patch) | |
tree | 2e3701d64e685a1f58f318bd195cd0cf93b8fa15 /meta/lib/oe/data.py | |
parent | dcba2302adab47b398f1ce7d09c38828ea9ae426 (diff) | |
download | openembedded-core-044c81bd916fbe7140d184eb103f74786cfef604.tar.gz openembedded-core-044c81bd916fbe7140d184eb103f74786cfef604.tar.bz2 openembedded-core-044c81bd916fbe7140d184eb103f74786cfef604.zip |
oeqa.utils.git.GitRepo: new arg to require topdir
Add a new 'is_topdir' argument to the GitRepo init method which
validates that the given path is the top directory of a Git repository.
Without this argument GitRepo also accepts subdirectories of a Git
repository (in which case GitRepo will point to the parent directory
that is the top directory of this repository) which may have undesired
in some cases.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oe/data.py')
0 files changed, 0 insertions, 0 deletions