Przeglądaj źródła

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 lat temu
rodzic
commit
aa5dfec917
1 zmienionych plików z 1 dodań i 1 usunięć
  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"}},
         "",