summaryrefslogtreecommitdiff
path: root/commit.d
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d')
-rwxr-xr-xcommit.d/50vcs-commit1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.d/50vcs-commit b/commit.d/50vcs-commit
index 959babb..7fb4809 100755
--- a/commit.d/50vcs-commit
+++ b/commit.d/50vcs-commit
@@ -42,6 +42,7 @@ if [ "$VCS" = git ] && [ -d .git ]; then
if [ -n "$USER" ]; then
export GIT_AUTHOR_NAME="$USER"
export GIT_AUTHOR_EMAIL="$USER@$hostname"
+ export GIT_COMMITTER_EMAIL=`whoami`"@$hostname"
fi
if [ -n "$logfile" ]; then
git commit $GIT_COMMIT_OPTIONS -F "$logfile"