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

Re: [PATCH] Documentation/git-send-email.txt: Mention less secure app access might need to enable.

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 17, 2020, 17:16 UTC
Message-ID
<CAPig+cT8Kmh6LcoKqkcJX6imXaase07o8C_-7k7RkyhEyW02rQ@mail.gmail.com>
In-Reply-To
<20200817125419.1655-1-vvavrychuk@gmail.com>
On Mon, Aug 17, 2020 at 8:54 AM Vasyl Vavrychuk <vvavrychuk@gmail.com> wrote:
Show 7 quoted lines
> Looks like Google changed gmail security and now less secure app access
> needs to be explicitly enabled if 2-factor authentication is not in
> place, otherwise send-mail fails with:
>
>   5.7.8 Username and Password not accepted. Learn more at
>   5.7.8  https://support.google.com/mail/?p=BadCredentials v5sm13756502ede.13 - gsmtp
> ---
Missing sign-off. Please see Documentation/SubmittingPatches.
Show 5 quoted lines
> diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
> @@ -494,6 +494,10 @@ edit ~/.gitconfig to specify your account settings:
> +If you do not have multifactor authentication setup on your gmail account, you
> +need to allow less secure app access. Visit
> +https://myaccount.google.com/lesssecureapps to enable it.
Thanks. Make sense. A few comments:

I think multi-factor is usually hyphenated, so perhaps: s/multifactor/multi-factor/

Since you are not using it as a noun: s/setup/set up/
Also, Gmail is normally capitalized, so: s/gmail/Gmail
> @@ -505,7 +509,7 @@ following commands:
> -The first time you run it, you will be prompted for your credentials.  Enter the
> +The first time you run it, you will be prompted for your credentials. Enter the

This unnecessary whitespace change just adds noise to the patch, thus should be dropped.

Previous: Vasyl VavrychukNext: Vasyl Vavrychuk
Message 2 of 9 in “Documentation/git-send-email.txt: Mention less secure app access might need to enable.”
  1. Documentation/git-send-email.txt: Mention less secure app access might need to enable.Vasyl Vavrychuk, Aug 17, 2020
  2. Eric SunshineAug 17, 2020
  3. Documentation/git-send-email.txt: Mention less secure app access might need to enable.Vasyl Vavrychuk, Aug 29, 2020
  4. Junio C HamanoAug 29, 2020
  5. Junio C HamanoAug 29, 2020
  6. Junio C HamanoSep 6, 2020
  7. Junio C HamanoDec 22, 2020
  8. git-send-email.txt: mention less secure app access with GmailDenton Liu, Jan 7, 2021
  9. Eric SunshineJan 7, 2021

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.