From aafff45965b44344eb1207847bc40ca60c27083d Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 2 Dec 2015 23:13:26 +0100 Subject: [PATCH] manual: clarify policy when updating a package patch Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Cc: Renaud AUBIN Signed-off-by: Thomas Petazzoni --- docs/manual/patch-policy.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/manual/patch-policy.txt b/docs/manual/patch-policy.txt index 6e27e717ab..0b4604e5c3 100644 --- a/docs/manual/patch-policy.txt +++ b/docs/manual/patch-policy.txt @@ -106,6 +106,10 @@ upstream SCM software to generate the patch set. Otherwise, concatenate the header with the output of the +diff -purN package-version.orig/ package-version/+ command. +If you update an existing patch (e.g. when bumping the package version), +make sure the existing From header and Signed-off-by tags are not +removed, but do update the rest of the patch comment when appropriate. + At the end, the patch should look like: --------------- -- 2.30.2