# StGIT: defaults for authname, authemail

2 messages from 2006-01-24 to 2006-01-25. Participants: Andrey Borzenkov, Catalin Marinas.
Thread: https://gitlist.dev/t/3140

## Andrey Borzenkov, 2006-01-24 19:13

Subject: StGIT: defaults for authname, authemail
Message-ID: <200601242213.36996.arvidjaar@mail.ru>
URL: https://gitlist.dev/e/200601242213.36996.arvidjaar%40mail.ru

```
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Would be nice if StGIT honored GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL if they are 
set and took them as default. Would be more plug'n'play, I was rather 
surprised why stg export gave me From: <>.

I have zero python knowledge to make a patch, sorry.

regards

- -andrey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD1nxgR6LMutpd94wRAkQ5AJ0ZU3bc1mCu7Cx3XsNYoAleZU9E0wCfXyVF
VM310OOCMkiXEe0HWsE1CtI=
=tfhC
-----END PGP SIGNATURE-----

```

## Catalin Marinas, 2006-01-25 13:39

Subject: Re: StGIT: defaults for authname, authemail
Message-ID: <tnxzmlk1l61.fsf@arm.com>
URL: https://gitlist.dev/e/tnxzmlk1l61.fsf%40arm.com
In-Reply-To: <200601242213.36996.arvidjaar@mail.ru>

```
Andrey Borzenkov <arvidjaar@mail.ru> wrote:
> Would be nice if StGIT honored GIT_AUTHOR_NAME, GIT_AUTHOR_EMAIL if they are 
> set and took them as default. Would be more plug'n'play, I was rather 
> surprised why stg export gave me From: <>.

Indeed, that's a bug. The GIT commit is properly created since GIT
will use the environment but the export and mail commands are not
aware of this (they only use the ~/.stgitrc or .git/stgitrc files).

Thanks for pointing out.

-- 
Catalin

```
