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

Re: Question - no space in smtp-server-option

From
Chris Coutinho <chrisbcoutinho@gmail.com>
Date
Sep 17, 2018, 01:27 UTC
Message-ID
<20180917012721.akyclbcmeqw5dv3x@tumbleweed>
In-Reply-To
<20180917011657.GD154643@aiede.svl.corp.google.com>
On Sep-16-18, Jonathan Nieder wrote:
Show 22 quoted lines
>Hi,
>
>Chris Coutinho wrote:
>
>> Currently my gitconfig contains the following line:
>>
>> 	sendemail.smtpserveroption=-a<myaccount>
>>
>> Whereas, the following results in an 'account' not found error:
>>
>> 	sendemail.smtpserveroption=-a <myaccount>
>
>Do you mean that your ~/.gitconfig literally contains that exact line?
>I would be surprised to hear that syntax works --- see [1] for the
>syntax I would expect to work.
>
>If you have more details, that would help.
>
>Thanks,
>Jonathan
>
>[1] https://www.kernel.org/pub/software/scm/git/docs/git-config.html

Yes that's the exact line in my gitconfig file, which correctly mails using the non-default account I'm after - I'm assuming you're noticing the lack of camelCase? To be honest, that came from zsh autosuggestions, which are all lower-case for some reason.

My question is just regarding the syntax of the smtp server option, namely about the (lack of a) space

Previous: Jonathan NiederNext: Jonathan Nieder
Message 3 of 6 in “Question - no space in smtp-server-option”
  1. Chris CoutinhoSep 17, 2018
  2. Jonathan NiederSep 17, 2018
  3. Chris CoutinhoSep 17, 2018
  4. Jonathan NiederSep 17, 2018
  5. Chris CoutinhoSep 17, 2018
  6. Chris CoutinhoSep 17, 2018

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.