From: Holger Weiss Date: Sat, 24 Oct 2009 20:55:43 +0000 (+0200) Subject: git-notify: Move the Gitweb URL to the bottom X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa5dfec91726da8d9d4a4fa63f11c7b0da8c9401;p=nagiosplug.git 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. --- diff --git a/tools/git-notify b/tools/git-notify index 39abd66..a786f83 100755 --- a/tools/git-notify +++ b/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"}}, "",