diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-11 15:41:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:30:54 +0000 |
commit | 13ec296b5c35aefa2c44f64f8bd1ef54c4a0a731 (patch) | |
tree | 14a0551aa0730917026f134871d9638acbcc9c97 /scripts | |
parent | e49a66fd898dd44e54c77a838ebef3d983ed2a03 (diff) | |
download | openembedded-core-13ec296b5c35aefa2c44f64f8bd1ef54c4a0a731.tar.gz openembedded-core-13ec296b5c35aefa2c44f64f8bd1ef54c4a0a731.tar.bz2 openembedded-core-13ec296b5c35aefa2c44f64f8bd1ef54c4a0a731.zip |
lib/oe/patch: improve extraction of patch header
For patches that we have to extract the header information by hand (i.e.
will not apply with "git am"), make the following improvements:
* If we can't extract author/date/subject, then try to do so from the
commit that added the patch in git (assuming the metadata is tracked
by git)
* Take only first Signed-off-by line instead of last
* Accept any case for "Signed-off-by" in case author has typed it by
hand
* Improve conditional - we can skip the other cases if one matches
Implements [YOCTO #7624].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions