Просмотр исходного кода

git-notify: Move the Gitweb URL to the bottom

In commit notifications, specify the Gitweb URL (if any) at the bottom
of the ASCII "table" which summarizes the commit.  That looks better.
Holger Weiss 16 лет назад
Родитель
Сommit
aa5dfec917
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/git-notify

+ 1 - 1
tools/git-notify

@@ -328,10 +328,10 @@ sub send_commit_notice($$)
         "Module: $repos_name",
         "Branch: $ref",
         "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"}),
+        $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
         "",
         @{$info{"log"}},
         "",