Skip to content
Snippets Groups Projects
Commit c661c715 authored by Markus Lehtonen's avatar Markus Lehtonen Committed by Guido Günther
Browse files

pq: rewrite patch export functionality


Use our own function for constructing the patch files instead of using
the format-patch command of git. This way, we get the desired output
format directly, without the need for the error-prone "format-patch,
parse patch files, mangle and re-write patch files" cycle.

Also, fix patch naming in patch generation when '--no-patch-numbers' is
used.  Previously, multiple commits with the same subject resulted in
multiple patches having the same filename. This lead into broken series
with missing patches as patch files were overwritten by the topmost
commit.

Signed-off-by: default avatarMarkus Lehtonen <markus.lehtonen@linux.intel.com>
parent 3092623a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment