فهرست منبع

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 سال پیش
والد
کامیت
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"}},
         "",