diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 22:55:43 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-10-24 22:55:43 +0200 |
| commit | aa5dfec91726da8d9d4a4fa63f11c7b0da8c9401 (patch) | |
| tree | 1fa48c089e65347bf023ea6b6cad2799b92f092a | |
| parent | 15920fb433b4ee2838ec2ba8997a97b2bbcd6e74 (diff) | |
| download | monitoring-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.
| -rwxr-xr-x | tools/git-notify | 2 |
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($$) | |||
| 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 | "", |
