diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-09-23 21:22:10 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-24 07:30:09 +0100 |
commit | f6928407ed281fe5c4219cd6c9f50b664fccb360 (patch) | |
tree | 45a624803a687792380ed6752f866817b3634a51 /meta-selftest/README | |
parent | efa3c7dd5507caf53a22a5cd854f3c832faa68d1 (diff) | |
download | poky-f6928407ed281fe5c4219cd6c9f50b664fccb360.tar.gz |
lib/oe/patch: exclude "From <hash>" from commit message when PATCHTOOL is "git"
If you leave "From <hash>" lines in the commit message it can actually
break git rebase because it tries to interpret the line in the context
of the current repository, and if the hash is invalid then a rebase
will blow up with:
fatal: git cat-file: could not get object info
or in newer git versions:
error: unable to find <hash>
fatal: git cat-file <hash>: bad file
(I hit this when I tried to do a devtool upgrade on openssl to 1.0.2i
the first time I did "git rebase --skip")
(From OE-Core rev: 19a6b18ac23cb2d7bb89203f774b2bee7f0cb03c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/README')
0 files changed, 0 insertions, 0 deletions