Skip to contentSkip to conversation

StGIT: defaults for authname, authemail

DISCUSSION Andrey Borzenkov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

-----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-----

#1 lore raw
Quoted 3 lines · Andrey Borzenkov

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.

Signature · 1 line
Catalin