summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-08-26 10:39:17 -0600
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-09-12 18:13:52 +0200
commit85deb7f69ca4467cf5cf75545b253f9414908222 (patch)
tree3af54dec6de22482c1f22a63c81a1730e89022ba
parent5f044932413694475422d4b16607dfcf9aff8781 (diff)
downloadu-boot-85deb7f69ca4467cf5cf75545b253f9414908222.tar.gz
u-boot-85deb7f69ca4467cf5cf75545b253f9414908222.tar.bz2
u-boot-85deb7f69ca4467cf5cf75545b253f9414908222.zip
doc/develop/sending_patches.rst: Clarify when to use which branch
The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2. Reported-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--doc/develop/sending_patches.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/develop/sending_patches.rst b/doc/develop/sending_patches.rst
index 3f25b1d046..9308f428bb 100644
--- a/doc/develop/sending_patches.rst
+++ b/doc/develop/sending_patches.rst
@@ -73,12 +73,14 @@ General Patch Submission Rules
cover letter why they are ignored is desired.
* Send your patches as plain text messages: no HTML, no MIME, no links, no
- compression, no attachments. Just plain text. The best way the generate
- patches is by using the ``git format-patch`` command. Please use the
- ``master`` branch of the mainline U-Boot git repository
- (``https://source.denx.de/u-boot/u-boot.git``) as reference, unless (usually
- late in a release cycle) there has been an announcement to use the ``next``
- branch of this repository instead.
+ compression, no attachments. Just plain text. The best way to generate
+ patches is by using the ``git format-patch`` command. For a patch that is
+ fixing a bug or regression of some sort, please use the ``master`` branch of
+ the mainline U-Boot git repository
+ (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new
+ features, if the ``next`` branch has been opened (which happens with the
+ release of ``-rc2``) that branch should be used, otherwise ``master`` is
+ acceptable.
* Make sure that your mailer does not mangle the patch by automatic changes
like wrapping of longer lines etc.