diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-09-29 16:56:20 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-10 14:44:31 +0000 |
commit | bfebd18982c0c82ef2da63ec8f22175c93b2e308 (patch) | |
tree | cda290923a49790e5ce9ff91f040e12547348b2e /.templateconf | |
parent | 9e8808099046478e98c6cf1903dc6787d69132fc (diff) | |
download | openembedded-core-bfebd18982c0c82ef2da63ec8f22175c93b2e308.tar.gz openembedded-core-bfebd18982c0c82ef2da63ec8f22175c93b2e308.tar.bz2 openembedded-core-bfebd18982c0c82ef2da63ec8f22175c93b2e308.zip |
devtool: finish: ensure repository is clean before proceeding
If the git repository for a recipe in the workspace has uncommitted
changes in it then it's possible that the user has forgotten to commit
something, so check and exit if there are any. Provide a -f/--force
option to continue in the case where the uncommitted changes aren't
needed.
Separately, if the repository is in the middle of a rebase or git am /
apply then error out (without the opportunity to force) since the user
really needs to sort this out before finishing.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions