summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-09-29 16:56:20 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-10 14:44:31 +0000
commitbfebd18982c0c82ef2da63ec8f22175c93b2e308 (patch)
treecda290923a49790e5ce9ff91f040e12547348b2e /scripts/lib/checklayer
parent9e8808099046478e98c6cf1903dc6787d69132fc (diff)
downloadopenembedded-core-bfebd18982c0c82ef2da63ec8f22175c93b2e308.tar.gz
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 'scripts/lib/checklayer')
0 files changed, 0 insertions, 0 deletions