]> 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>
Sat, 31 Oct 2020 23:45:32 +0000 (00:45 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 2 Nov 2020 14:27:35 +0000 (04:27 -1000)
commitbbd467c393af5fa34a0b92d5461ff0bf427b3933
tree490b29968bec5f7b53be691fd604ca9517944b8d
parentf4349c395749c30e70587fc276913530e518836b
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/patch.py