diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 09:44:25 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 09:44:25 (GMT) |
commit | e31d34fc90c57d782bb82cd05ecb1ddda21b6d09 (patch) | |
tree | 7029c5e91ee808e22f555420f2f35e7618948854 | |
parent | 56c46014d063b8f9714db7644d2b2c2cda89e906 (diff) | |
download | monitoring-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.
-rwxr-xr-x | tools/git-notify | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/git-notify b/tools/git-notify index 0c2f739..848cfe0 100755 --- a/tools/git-notify +++ b/tools/git-notify | |||
@@ -269,6 +269,7 @@ sub send_commit_notice($$) | |||
269 | "Commit: $obj", | 269 | "Commit: $obj", |
270 | $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef), | 270 | $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef), |
271 | "Author:" . $info{"author"}, | 271 | "Author:" . $info{"author"}, |
272 | $info{"committer"} ne $info{"author"} ? "Committer:" . $info{"committer"} : undef, | ||
272 | "Date:" . format_date($info{"author_date"},$info{"author_tz"}), | 273 | "Date:" . format_date($info{"author_date"},$info{"author_tz"}), |
273 | "", | 274 | "", |
274 | @{$info{"log"}}, | 275 | @{$info{"log"}}, |