threads / discuss / 3140

StGIT: defaults for authname, authemail

Subject: StGIT: defaults for authname, authemail

## tl;dr

2 messages between Jan 24, 2006 and Jan 25, 2006.

replies: 1people: 2as markdown or json

Andrey Borzenkov· Jan 24, 2006, 19:13 UTC · lore
-----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· Jan 25, 2006, 13:39 UTC · re: Andrey Borzenkov · lore

Re: StGIT: defaults for authname, authemail

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

← back to recent threads