Code

gitweb: Remove redundant "commit" from history
authorLuben Tuikov <ltuikov@yahoo.com>
Fri, 29 Sep 2006 00:20:23 +0000 (17:20 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Sep 2006 02:03:28 +0000 (19:03 -0700)
Remove redundant "commit" from history -- it can be had
by clicking on the title of the commit.  This commit
makes visualization consistent with shortlog, log, etc.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index a99e116a4a6ec487d5a0118e2ef845215341404a..caaa371d0e792756e54ef32243c268f9edcc40fa 100755 (executable)
@@ -2071,7 +2071,6 @@ sub git_history_body {
                                          href(action=>"commit", hash=>$commit), $ref);
                print "</td>\n" .
                      "<td class=\"link\">" .
-                     $cgi->a({-href => href(action=>"commit", hash=>$commit)}, "commit") . " | " .
                      $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " .
                      $cgi->a({-href => href(action=>$ftype, hash_base=>$commit, file_name=>$file_name)}, $ftype);