[PATCH] provide better committer information to commit-tree.c
commitb70070f0208be5d5d7b7a3b259e7ff3da19307d0
authorGreg KH <greg@kroah.com>
Tue, 19 Apr 2005 00:37:32 +0000 (18 17:37 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Apr 2005 00:37:32 +0000 (18 17:37 -0700)
tree84e34067e4199de4d4cae90234daa9db59819944
parentf43b8abc6f051aece327a3779e903106916d6e67
[PATCH] provide better committer information to commit-tree.c

Here's a small patch to commit-tree.c that does two things:
- allows the committer email address and name to be overridden
  by environment variables (if you don't like the environment
  variable names I've used (COMMIT_AUTHOR_NAME,
  COMMIT_AUTHOR_EMAIL), feel free to change them.)
- provide the proper domainname to the author/committer email
  address (otherwise, my address was only showing up as from the
  hostname.)

This allows people to set sane values for the commit names and email
addresses, preventing odd, private hostnames and domains from being
exposed to the world.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
commit-tree.c