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

Re: [PATCH v2 1/1] MyFirstContribution: add note about SMTP server config

From
Victoria Dye <vdye@github.com>
Date
Feb 23, 2023, 06:23 UTC
Message-ID
<cb69979d-a0f1-d4dc-6e94-2d1652ec69ea@github.com>
In-Reply-To
<20230223054040.30088-2-gvivan6@gmail.com>
Vivan Garg wrote:
> In the documentation on using git-send-email, it was noted that the configuration
> for sending email can vary based on your operating system and email provider.
> However, it was not explicitly stated that you will need to set up your SMTP
> server details in git's configuration file under the 'sendemail' section. 

This is a bit of an overstatement of the issue. The existing documentation *does* say that you need to configure Git for your SMTP server:

> You will also need to determine the right way to configure it to use your
> SMTP server; again, as this configuration can change significantly based
> on your system and email setup, it is out of scope for the context of this
> tutorial.

The only thing it could use is a bit more specificity around which options need configuring. With that in mind...

Show 22 quoted lines
> This information is critical for users who are new to using git-send-email and may
> not be familiar with the additional setup required to use their SMTP server. By
> adding this note to the documentation, the aim is to provide users with a more
> complete understanding of the configuration process and help them avoid
> potential roadblocks in setting up git-send-email.
> 
> Signed-off-by: Vivan Garg <gvivan6@gmail.com>
> ---
>  Documentation/MyFirstContribution.txt | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt
> index ccfd0cb5f3..ca095283d3 100644
> --- a/Documentation/MyFirstContribution.txt
> +++ b/Documentation/MyFirstContribution.txt
> @@ -1001,7 +1001,10 @@ typical `git` install. You may need to install this additional package; there
>  are a number of resources online to help you do so. You will also need to
>  determine the right way to configure it to use your SMTP server; again, as this
>  configuration can change significantly based on your system and email setup, it
> -is out of scope for the context of this tutorial.
> +is out of scope for the context of this tutorial. Additionally, note that you 
> +will need to set up your SMTP server details in git's configuration file. The 

...this sentence seems to ignore the one that precedes it. The documentation just finishes telling the reader "you'll need to configure Git for SMTP", which you now follow with "also, you need to configure Git for SMTP" - basically saying the same thing twice. If you drop the sentence starting with "Additionally, ...", though, the sentence after (starting with "The relevant settings...") flows nicely from the existing paragraph while still adding specificity to the SMTP configuration guidance.

> +relevant settings can be found under the 'sendemail' section (see 

super-nit: "the 'sendemail' section" could be clearer about the fact that it's the a section *of the '.gitconfig'* - how about something like "the 'sendemail' section of the Git config file"?

> +linkgit:git-config[1]).
>  
>  [[format-patch]]
>  === Preparing Initial Patchset
Previous: Vivan GargNext: Victoria Dye
Message 6 of 15 in “Documentation/MyFirstContribution: add setup template for git send-email”
  1. Documentation/MyFirstContribution: add setup template for git send-emailVivan Garg, Feb 22, 2023
  2. Victoria DyeFeb 22, 2023
  3. Vivan GargFeb 23, 2023
  4. 0/1 MyFirstContribution: add note about SMTP server configVivan Garg, Feb 23, 2023
  5. 1/1 MyFirstContribution: add note about SMTP server configVivan Garg, Feb 23, 2023
  6. Victoria DyeFeb 23, 2023
  7. Victoria DyeFeb 23, 2023
  8. Vivan GargFeb 23, 2023
  9. MyFirstContribution: add note about SMTP server configVivan Garg, Feb 23, 2023
  10. Benson MuiteFeb 23, 2023
  11. Vivan GargFeb 23, 2023
  12. Benson MuiteFeb 23, 2023
  13. Vivan GargFeb 26, 2023
  14. Bagas SanjayaFeb 26, 2023
  15. Bagas SanjayaFeb 26, 2023

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.