* [PATCH] [PATCH] add commitdiff option in history window
@ 2005-10-20 17:28 Paolo 'Blaisorblade' Giarrusso
0 siblings, 0 replies; only message in thread
From: Paolo 'Blaisorblade' Giarrusso @ 2005-10-20 17:28 UTC (permalink / raw)
To: Kay Sievers; +Cc: git
In the history window I like to have the commitdiff link too. Hope this
patch is correct. Thanks for review.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
---
gitweb.cgi | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gitweb.cgi b/gitweb.cgi
--- a/gitweb.cgi
+++ b/gitweb.cgi
@@ -2028,6 +2028,7 @@ sub git_history {
escapeHTML(chop_str($co{'title'}, 50)) . "</b>") . "</td>\n" .
"<td class=\"link\">" .
$cgi->a({-href => "$my_uri?p=$project;a=commit;h=$commit"}, "commit") .
+ " | " . $cgi->a({-href => "$my_uri?p=$project;a=commitdiff;h=$commit"}, "commitdiff") .
" | " . $cgi->a({-href => "$my_uri?p=$project;a=blob;hb=$commit;f=$file_name"}, "blob");
my $blob = git_get_hash_by_path($hash, $file_name);
my $blob_parent = git_get_hash_by_path($commit, $file_name);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-20 17:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20 17:28 [PATCH] [PATCH] add commitdiff option in history window Paolo 'Blaisorblade' Giarrusso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).