git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jonathan Nieder <jrnieder@gmail.com>
To: Chris Coutinho <chrisbcoutinho@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Question - no space in smtp-server-option
Date: Sun, 16 Sep 2018 18:53:24 -0700	[thread overview]
Message-ID: <20180917015324.GE154643@aiede.svl.corp.google.com> (raw)
In-Reply-To: <20180917012721.akyclbcmeqw5dv3x@tumbleweed>

On Mon, Sep 17, 2018 at 03:27:21AM +0200, Chris Coutinho wrote:
> On Sep-16-18, Jonathan Nieder wrote:
>> 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?
[...]
> 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.

No, case shouldn't matter.  I'm noticing the it looks like

	foo.bar=baz

instead of

	[foo]
		bar = baz

(i.e. it seems to be some syntax other than ini syntax).  E.g. I tried

	echo a.b=c >test.config
	git config -f test.config -l

and get

	fatal: bad config line 1 in file test.config

Thanks,
Jonathan

  reply	other threads:[~2018-09-17  1:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-17  1:02 Question - no space in smtp-server-option Chris Coutinho
2018-09-17  1:16 ` Jonathan Nieder
2018-09-17  1:27   ` Chris Coutinho
2018-09-17  1:53     ` Jonathan Nieder [this message]
2018-09-17 11:23       ` Chris Coutinho
2018-09-17 11:39       ` Chris Coutinho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180917015324.GE154643@aiede.svl.corp.google.com \
    --to=jrnieder@gmail.com \
    --cc=chrisbcoutinho@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).