diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-12-30 13:08:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:10:49 +0000 |
commit | 8eff4fea13317a741114f2a2e8e228d0155ba64c (patch) | |
tree | ba7b9312bd11eb305d8a4f3908aa6a4fec689740 /.gitignore | |
parent | 22213b226d7f9b7732163d6586d938416c7ec8c3 (diff) | |
download | openembedded-core-8eff4fea13317a741114f2a2e8e228d0155ba64c.tar.gz openembedded-core-8eff4fea13317a741114f2a2e8e228d0155ba64c.tar.bz2 openembedded-core-8eff4fea13317a741114f2a2e8e228d0155ba64c.tar.xz openembedded-core-8eff4fea13317a741114f2a2e8e228d0155ba64c.zip |
buildhistory: improve git commit robustness
* Check if BUILDHISTORY_DIR exists before doing anything with it, in
case no tasks that would have created it have executed
* Ensure the git repo in BUILDHISTORY_DIR is initialised with "git init"
before attempting to do anything with it
* Check if any files have been added or changed before adding and
committing, to avoid an error from "git commit"
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions