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

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