git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Chris Coutinho <chrisbcoutinho@gmail.com>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Question - no space in smtp-server-option
Date: Mon, 17 Sep 2018 13:23:57 +0200	[thread overview]
Message-ID: <20180917112357.7ajxecgw3hkdklzu@tumbleweed> (raw)
In-Reply-To: <20180917015324.GE154643@aiede.svl.corp.google.com>

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

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

Hi Jonathan,

Sorry for the inconsistency, you're write about the gitconfig syntax. I 
was actually printing out the config using `git config --local --list`.  
The actual config file has the two lines:

[sendemail]
	smtpserveroption = -a<myaccount>

Regards,
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-09-17 11:24 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
2018-09-17 11:23       ` Chris Coutinho [this message]
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=20180917112357.7ajxecgw3hkdklzu@tumbleweed \
    --to=chrisbcoutinho@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jrnieder@gmail.com \
    /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).