From: Matthijs Kooijman Date: Tue, 21 Sep 2010 12:16:01 +0000 (+0200) Subject: sudo: Keep GIT_* environment variables. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3d6beb39ec4131bfa432fd937d0a188953730e83;p=matthijs%2Fservers%2Ftika.git sudo: Keep GIT_* environment variables. This allows setting committer and author info through sudo. --- diff --git a/etc/sudoers b/etc/sudoers index d15ca59..6a6bbae 100644 --- a/etc/sudoers +++ b/etc/sudoers @@ -5,7 +5,7 @@ # See the man page for details on how to write a sudoers file. # -Defaults env_reset +Defaults env_reset,env_keep+=GIT_* # Host alias specification