Question - no space in smtp-server-option
- From
Chris Coutinho <chrisbcoutinho@gmail.com>
- Date
- Sep 17, 2018, 01:02 UTC
- Message-ID
- <20180917010244.btmlczam5m75rmto@tumbleweed>
Hello Git community,
To send a formatted git patch as an email using git I use `git send-email`. Using another email address than my default one requires the 'smtp-server-option' to be set, and currently this flag doesn't care much for spaces. Is this desired?
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>
Further, the full account flag (--account) is not recognized by `send-email`. Could someone expand a bit on the reasoning behind this?
Regards, Chris