summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-10-24 20:55:43 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-10-24 20:55:43 (GMT)
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 39abd66..a786f83 100755
--- a/tools/git-notify
+++ b/tools/git-notify
@@ -328,10 +328,10 @@ sub send_commit_notice($$)
328 "Module: $repos_name", 328 "Module: $repos_name",
329 "Branch: $ref", 329 "Branch: $ref",
330 "Commit: $obj", 330 "Commit: $obj",
331 $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
332 "Author:" . $info{"author"}, 331 "Author:" . $info{"author"},
333 $info{"committer"} ne $info{"author"} ? "Committer:" . $info{"committer"} : undef, 332 $info{"committer"} ne $info{"author"} ? "Committer:" . $info{"committer"} : undef,
334 "Date:" . format_date($info{"author_date"},$info{"author_tz"}), 333 "Date:" . format_date($info{"author_date"},$info{"author_tz"}),
334 $gitweb_url ? "URL: $gitweb_url/?a=commit;h=$obj" : undef),
335 "", 335 "",
336 @{$info{"log"}}, 336 @{$info{"log"}},
337 "", 337 "",