Code

git-notify: Mention the committer where applicable
[nagiosplug.git] / tools / git-notify
index 0c2f7395fd2c1484aff70b739c0c3d884ea8d2c7..848cfe0d97785ad5acc488f628982f9fc11fb8da 100755 (executable)
@@ -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"}},