aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2009-10-24 11:44:25 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2009-10-24 11:44:25 +0200
commite31d34fc90c57d782bb82cd05ecb1ddda21b6d09 (patch)
tree7029c5e91ee808e22f555420f2f35e7618948854 /tools
parent56c46014d063b8f9714db7644d2b2c2cda89e906 (diff)
downloadmonitoring-plugins-e31d34fc90c57d782bb82cd05ecb1ddda21b6d09.tar.gz
git-notify: Mention the committer where applicable
If the committer is not the author of the commit, mention the committer in addition to the author.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-notify1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/git-notify b/tools/git-notify
index 0c2f7395..848cfe0d 100755
--- a/tools/git-notify
+++ b/tools/git-notify
@@ -269,6 +269,7 @@ sub send_commit_notice($$)
"Commit: $obj",
$gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
"Author:" . $info{"author"},
+ $info{"committer"} ne $info{"author"} ? "Committer:" . $info{"committer"} : undef,
"Date:" . format_date($info{"author_date"},$info{"author_tz"}),
"",
@{$info{"log"}},