]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/patch: GitApplyTree: save 1 echo in commit-msg hook
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 29 May 2020 22:03:26 +0000 (00:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jun 2020 14:25:54 +0000 (15:25 +0100)
commitc50c0d6144ad290168167ccef948c7b4ffc9665a
tree63d45a8de225155cfb840b8a4bf1231c14970161
parent0a8252f0cb13e3dc16f70b984f9f98b845b163de
lib/oe/patch: GitApplyTree: save 1 echo in commit-msg hook

* also remove the extra blank lines which is often added to patches
  when refreshed with devtool (GitApplyTree.patch_line_prefix lines
  are ignored when refreshing .patch files, but newly added blank
  lines aren't - the leading blank line wasneeded for patches with
  just the subject line (to prevent the GitApplyTree.patch_line_prefix
  line ending appended to the commit summary), but we can add it
  in prepareCommit instead

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py