瀏覽代碼

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.
Holger Weiss 16 年之前
父節點
當前提交
e31d34fc90
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/git-notify

+ 1 - 0
tools/git-notify

@@ -269,6 +269,7 @@ sub send_commit_notice($$)
         "Commit: $obj",
         "Commit: $obj",
         $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
         $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
         "Author:" . $info{"author"},
         "Author:" . $info{"author"},
+        $info{"committer"} ne $info{"author"} ? "Committer:" . $info{"committer"} : undef,
         "Date:" . format_date($info{"author_date"},$info{"author_tz"}),
         "Date:" . format_date($info{"author_date"},$info{"author_tz"}),
         "",
         "",
         @{$info{"log"}},
         @{$info{"log"}},