git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v6 2/2] send-email: make it easy to discern the messages for each patch

From
DSDragan Simic <dsimic@manjaro.org>
Date
Apr 13, 2024, 06:10 UTC
Message-ID
<fcf3331de77a623bceec6da6f3acbfed@manjaro.org>
In-Reply-To
<CAPig+cQ+VV_Raxsk31vG8H4D5NjLsW5oFCA-o28raqrSRhi1TQ@mail.gmail.com>
Hello Eric,
On 2024-04-11 00:59, Eric Sunshine wrote:
Show 22 quoted lines
> On Wed, Apr 10, 2024 at 12:28 PM Junio C Hamano <gitster@pobox.com> 
> wrote:
>> Dragan Simic <dsimic@manjaro.org> writes:
>> >     MIME-Version: 1.0
>> >     Content-Transfer-Encoding: 8bit
>> >
>> >     Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y
>> >
>> >     OK. Log says:
>> >     Server: smtp.example.com
>> 
>> This is obviously in the realm of subjective preference, but I find
>> that the prompt line is distinct enough among all other output that
>> we do not need an extra blank line to locate them.
>> 
>> I'll let others comment as the "blank around prompt" smells quite
>> subjective and do not want to be the sole reviewer on it.
> 
> For what it's worth, I had the same reaction about the extra blank
> line related to the prompt being unnecessary, but I didn't feel
> strongly enough to say anything about it, and I still don't feel
> strongly enough to suggest dropping this change.

Basically, I went with a rather simple reasoning: the confirmation prompts, just like the SMTP statuses, aren't part of the emitted SMTP traces and patch descriptions. As such, separating the prompts with vertical whitespace is actually consistent, and should help with the overall readability, by taking the prompts visually out of the other produced messages.

Previous: Eric SunshineNext: Dragan Simic
Message 8 of 15 in “send-email: make produced outputs more readable”
  1. 0/2 send-email: make produced outputs more readableDragan Simic, Apr 10, 2024
  2. 1/2 send-email: move newline characters out of a few translatable stringsDragan Simic, Apr 10, 2024
  3. Junio C HamanoApr 10, 2024
  4. Dragan SimicApr 13, 2024
  5. 2/2 send-email: make it easy to discern the messages for each patchDragan Simic, Apr 10, 2024
  6. Junio C HamanoApr 10, 2024
  7. Eric SunshineApr 10, 2024
  8. Dragan SimicApr 13, 2024
  9. Dragan SimicApr 13, 2024
  10. Dragan SimicApr 27, 2024
  11. Junio C HamanoApr 27, 2024
  12. Dragan SimicApr 27, 2024
  13. Junio C HamanoApr 27, 2024
  14. Junio C HamanoApr 27, 2024
  15. Dragan SimicApr 28, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.