aboutsummaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorPetter Mabäcker <petter@technux.se>2015-11-24 13:45:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:30:53 +0000
commit5ef9249bbae4f08eb9b981d10f31bd3348449c82 (patch)
tree6cf86907f5a9ad1968fac87d1b43b42c84b868e8 /meta/files
parentac38d245878b618ddf56f9a68834d344500e45a6 (diff)
downloadopenembedded-core-contrib-5ef9249bbae4f08eb9b981d10f31bd3348449c82.tar.gz
create-pull-request: handle empty ODIR
In some situations you might end-up with an empty ODIR (pull-xx/). The most common reason is that you have applied your patches on 'master' branch (or you are by mistake standing on the 'master' branch), this will result in the default behavior that 'git format-patch' will try to diff master..master. Solve this by aborting the script with a proper error code and message if ODIR is empty after the 'git format-patch' call (that is expected to generate the cover-letter and patches). Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/files')
0 files changed, 0 insertions, 0 deletions