From: Linus Arver <linusa@google.com>
To: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Cc: "Torsten Bögershausen" <tboegi@web.de>
Subject: Re: [PATCH v3] MyFirstContribution: refrain from self-iterating too much
Date: Thu, 27 Jul 2023 16:14:52 -0700 [thread overview]
Message-ID: <owlycz0deykz.fsf@fine.c.googlers.com> (raw)
In-Reply-To: <xmqq8rbbbzp2.fsf_-_@gitster.g>
I was in the process of writing a review but my comments were getting a
bit long. So to save you the trouble of applying the suggested changes,
I have a scissors patch version at the bottom with the changes applied
(you may simply want to read that first).
Junio C Hamano <gitster@pobox.com> writes:
> +After you sent out your first patch, you may find mistakes in it, or
s/you sent/sending
Also, add "perhaps realize" after "or".
> +a different and better way to achieve the goal of the patch. But
> +please resist the temptation to send a new version immediately.
> +
> + - If the mistakes you found are minor, send a reply to your patch as
> + if you were a reviewer and mention that you will fix them in an
s/a/the
> + updated version.
> +
> + - On the other hand, if you think you want to change the course so
> + drastically that reviews on the initial patch would become
> + useless, send a reply to your patch to say so immediately to
> + avoid wasting others' time (e.g. "I am working on a better
> + approach, so please ignore this patch, and wait for the updated
> + version.")
How about this wording?
- On the other hand, if you think you want to change the course so
drastically that reviews on the initial patch would be a waste of
time (for everyone involved), retract the patch immediately with
a reply like "I am working on a much better approach, so please
ignore this patch and wait for the updated version."
> +Then give reviewers enough time to process your initial patch before
> +sending an updated version (unless you retracted the initial patch,
> +that is).
I think this paragraph should be moved inside the first one above. So it
could read something like this:
Please give reviewers enough time to process your initial patch before
sending an updated version. That is, resist the temptation to send a new
version immediately (because it may be the case that others may have
already started reviewing your initial version).
While waiting for review comments, you may find mistakes in your initial
patch, or perhaps realize a different and better way to achieve the goal
of the patch. In this case you may communicate your findings to other
reviewers as follows:
> +Now, the above is a good practice if you sent your initial patch
> +prematurely without polish. But a better approach of course is to
> +avoid sending your patch prematurely in the first place.
OK.
> +Keep in mind that people in the development community do not have to
> +see your patch immediately after you wrote it.
How about just
Please be considerate of the time needed by reviewers to examine
each new version of your patch.
?
> Instead of seeing
s/Instead of/Rather than
> +the initial version right now, that will be followed by several
s/, that will be / (
> +updated "oops, I like this version better than the previous one"
s/updated//
> +versions over 2 days, reviewers would more appreciate if a single
s/versions over 2 days,/patches over 2 days),
s/more appreciate/strongly prefer
> +polished version came 2 days late and that version with fewer
s/2 days late/instead,
> +mistakes were the only one they need to review.
s/need/would need/
> +
> [[reviewing]]
> === Responding to Reviews
>
> --
> 2.41.0-376-gcba07a324d
Below is my scissor patch version.
--8<---------------cut here---------------start------------->8---
Please give reviewers enough time to process your initial patch before
sending an updated version. That is, resist the temptation to send a new
version immediately (because it may be the case that others may have
already started reviewing your initial version).
While waiting for review comments, you may find mistakes in your initial
patch, or perhaps realize a different and better way to achieve the goal
of the patch. In this case you may communicate your findings to other
reviewers as follows:
- If the mistakes you found are minor, send a reply to your patch as if
you were the reviewer and mention that you will fix them in an
updated version.
- On the other hand, if you think you want to change the course so
drastically that reviews on the initial patch would be a waste of
time (for everyone involved), retract the patch immediately with
a reply like "I am working on a much better approach, so please
ignore this patch and wait for the updated version."
Now, the above is a good practice if you sent your initial patch
prematurely without polish. But a better approach of course is to avoid
sending your patch prematurely in the first place.
Please be considerate of the time needed by reviewers to examine each
new version of your patch. Rather than seeing the initial version right
now (followed by several "oops, I like this version better than the
previous one" patches over 2 days), reviewers would strongly prefer if a
single polished version came instead, and that version with fewer
mistakes were the only one they would need to review.
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2023-07-27 23:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-22 1:51 [PATCH] MyFirstContribution: refrain from self-iterating too much Junio C Hamano
2023-01-22 7:11 ` Torsten Bögershausen
2023-01-22 16:01 ` Junio C Hamano
2023-01-22 17:14 ` Junio C Hamano
2023-01-23 4:18 ` [PATCH v2] " Junio C Hamano
2023-01-23 17:58 ` Torsten Bögershausen
2023-07-19 17:04 ` [PATCH v3] " Junio C Hamano
2023-07-27 23:14 ` Linus Arver [this message]
2023-07-28 0:25 ` Junio C Hamano
2023-07-28 0:43 ` [PATCH v4] " Junio C Hamano
2023-07-28 2:07 ` Jacob Abel
2023-07-28 5:10 ` Junio C Hamano
2023-07-28 15:42 ` Re* " Junio C Hamano
2023-07-29 2:12 ` Jacob Abel
2023-07-31 15:25 ` Junio C Hamano
2023-07-28 2:08 ` Linus Arver
2023-07-28 5:10 ` Junio C Hamano
2023-07-28 21:21 ` Torsten Bögershausen
2023-07-28 23:00 ` Junio C Hamano
2023-01-23 1:47 ` [PATCH] " Sean Allred
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=owlycz0deykz.fsf@fine.c.googlers.com \
--to=linusa@google.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=tboegi@web.de \
/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;
as well as URLs for NNTP newsgroup(s).