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:14:36 +0000 |
commit | a57cda0f8025d466662bfd0ff3de1984ff01486f (patch) | |
tree | 690c0747141dcc9e75985e86b9a673c5c0fef5a7 /meta/recipes-extended/mdadm/files | |
parent | f724b7bc2e90262c96b07873d6675f60e593246b (diff) | |
download | poky-a57cda0f8025d466662bfd0ff3de1984ff01486f.tar.gz |
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"
(From OE-Core rev: 8eff4fea13317a741114f2a2e8e228d0155ba64c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/files')
0 files changed, 0 insertions, 0 deletions