On Sep-16-18, Jonathan Nieder wrote:
Hi,
Chris Coutinho wrote:
quoted
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