aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2009-10-24 22:55:43 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2009-10-24 22:55:43 +0200
commitaa5dfec91726da8d9d4a4fa63f11c7b0da8c9401 (patch)
tree1fa48c089e65347bf023ea6b6cad2799b92f092a /tools
parent15920fb433b4ee2838ec2ba8997a97b2bbcd6e74 (diff)
downloadmonitoring-plugins-aa5dfec91726da8d9d4a4fa63f11c7b0da8c9401.tar.gz
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.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git-notify b/tools/git-notify
index 39abd66e..a786f839 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"}},
"",