summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15920fb)
raw | patch | inline | side by side (parent: 15920fb)
author | Holger Weiss <holger@zedat.fu-berlin.de> | |
Sat, 24 Oct 2009 20:55:43 +0000 (22:55 +0200) | ||
committer | Holger Weiss <holger@zedat.fu-berlin.de> | |
Sat, 24 Oct 2009 20:55:43 +0000 (22:55 +0200) |
In commit notifications, specify the Gitweb URL (if any) at the bottom
of the ASCII "table" which summarizes the commit. That looks better.
of the ASCII "table" which summarizes the commit. That looks better.
tools/git-notify | patch | blob | history |
diff --git a/tools/git-notify b/tools/git-notify
index 39abd66e173e219d831fd765181c27cacdb0824b..a786f8393aa6a0e267cf227b74dc6ebd049883c3 100755 (executable)
--- a/tools/git-notify
+++ b/tools/git-notify
"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"}},
"",