Преглед изворни кода

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",
         $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"}},