From: Junio C Hamano <gitster@pobox.com>
To: Justin Tobler <jltobler@gmail.com>
Cc: git@vger.kernel.org, ps@pks.im
Subject: Re: [PATCH] Documentation: extend guidance for submitting patches
Date: Thu, 05 Mar 2026 12:35:44 -0800 [thread overview]
Message-ID: <xmqqikba2evz.fsf@gitster.g> (raw)
In-Reply-To: <20260305193836.973122-1-jltobler@gmail.com> (Justin Tobler's message of "Thu, 5 Mar 2026 13:38:36 -0600")
Justin Tobler <jltobler@gmail.com> writes:
> Before submitting patches on the mailing list, it is often a good idea
> to check for previous related discussions or if similar work is already
> in progress. This enables better coordination amongst contributors and
> could avoid duplicating work.
>
> Additionally, it is often recommended to give reviewers some time to
> reply to a patch series before sending new versions. This helps collect
> broader feedback and reduces unnecessary churn from rapid rerolls.
>
> Document this guidance in "Documentation/SubmittingPatches" accordingly.
>
> Signed-off-by: Justin Tobler <jltobler@gmail.com>
> ---
> Documentation/SubmittingPatches | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
What's written in these two new paragraphs are all agreeable, but is
the first addition in the right place with correct mark-up?
This whole section is a sequence of bullet points that shows "a
typical life cycle of a patch series". The first bullet point
starts with "You come up with an itch." and the second one is "You
send the patches", whose end part is what we see in the pre-context
of the patch, ending with "help you find out who they are."
If the new paragraph is meant as yet another paragraph to elaborate
on that second bullet point, wouldn't we need that "a line with only
a single '+' on it" before it, instead of a blank line, and the last
line of the first new paragraph should not be such a "single '+'"
line but a plain vanilla blank line?
> diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches
> index e270ccbe85..5acd692ad7 100644
> --- a/Documentation/SubmittingPatches
> +++ b/Documentation/SubmittingPatches
> @@ -38,10 +38,23 @@ they have no obligation to help you (i.e. you ask them for help,
> you don't demand). +git log -p {litdd} _$area_you_are_modifying_+ would
> help you find out who they are.
>
> +It is also a good idea to check whether your topic has been discussed
> +previously on the mailing list, or whether similar work is already in
> +progress. Prior discussions may contain useful context, design
> +considerations, or earlier attempts at solving the same problem. Being
> +aware of such discussions can help you avoid duplicating work and may
> +allow you to coordinate with other contributors working in the same
> +area.
> +
> . You get comments and suggestions for improvements. You may even get
> them in an "on top of your change" patch form. You are expected to
> respond to them with "Reply-All" on the mailing list, while taking
> them into account while preparing an updated set of patches.
> ++
> +It is often beneficial to allow some time for reviewers to provide
> +feedback before sending a new version, rather than sending an updated
> +series immediately after receiving a review. This helps collect broader
> +input and avoids unnecessary churn from many rapid iterations.
>
> . Polish, refine, and re-send your patches to the list and to the people
> who spent their time to improve your patch. Go back to step (2).
>
> base-commit: 628a66ccf68d141d57d06e100c3514a54b31d6b7
next prev parent reply other threads:[~2026-03-05 20:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 19:38 [PATCH] Documentation: extend guidance for submitting patches Justin Tobler
2026-03-05 20:35 ` Junio C Hamano [this message]
2026-03-05 21:27 ` Justin Tobler
2026-03-05 21:35 ` Junio C Hamano
2026-03-05 21:43 ` Justin Tobler
2026-03-05 22:27 ` Kristoffer Haugsbakk
2026-03-06 1:48 ` Justin Tobler
2026-03-06 10:56 ` Kristoffer Haugsbakk
2026-03-06 12:58 ` brian m. carlson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqikba2evz.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jltobler@gmail.com \
--cc=ps@pks.im \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox