From: Holger Weiss Date: Sat, 24 Oct 2009 09:44:25 +0000 (+0200) Subject: git-notify: Mention the committer where applicable X-Git-Url: https://git.tokkee.org/?p=nagiosplug.git;a=commitdiff_plain;h=e31d34fc90c57d782bb82cd05ecb1ddda21b6d09 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. --- 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($$) "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"}},