Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
aa5dfec917
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      tools/git-notify

+ 1 - 1
tools/git-notify

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