# StGit: stgit mail configuration options

2 messages from 2008-11-06 to 2008-11-10. Participants: David Kågedal, Karl Hasselström.
Thread: https://gitlist.dev/t/16195

## David Kågedal, 2008-11-06 10:21

Subject: StGit: stgit mail configuration options
Message-ID: <871vxptasf.fsf@krank.kagedal.org>
URL: https://gitlist.dev/e/871vxptasf.fsf%40krank.kagedal.org

```
The "stg mail" command uses a couple of configuration options that are
completely undocumented, and don't fit well together.

"stgit.autobcc" seems to give a default value for the --bcc option.

"stgit.mail.prefix seems to give a default value for the --prefix
option.

Shouldn't these both be stgit.* or stgit.mail.*? And shouldn't they be
documented? Or maybe removed?

And I propse that the autobcc option should be a boolean which means
that user.email should be used.

-- 
David Kågedal

```

## Karl Hasselström, 2008-11-10 10:19

Subject: Re: StGit: stgit mail configuration options
Message-ID: <20081110101958.GA14955@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20081110101958.GA14955%40diana.vm.bytemark.co.uk
In-Reply-To: <871vxptasf.fsf@krank.kagedal.org>

```
On 2008-11-06 11:21:20 +0100, David Kågedal wrote:

> The "stg mail" command uses a couple of configuration options that
> are completely undocumented, and don't fit well together.

I agree that they definitely need documenting.

As for renaming them and/or changing their types, that's probably a
good idea too. And once they are documented, we could e.g. rename and
only mention the new name in the docs, but keep the old name as well
for backward compatibility.

One interesting twist would be to fix StGit's config parser so that it
can automatically generate a man page listing all the config options
it recognizes. It needs updating anyway for other reasons (I believe
it still calls git-config several times instead of just once), and
this could be done at the same time.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```
