Code

gitweb: Remove superfluous "|" in "commit" view
authorJakub Narebski <jnareb@gmail.com>
Mon, 8 Jan 2007 01:10:42 +0000 (02:10 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 8 Jan 2007 02:06:45 +0000 (18:06 -0800)
Remove superfluous trailing "|" separator from difftree part of "commit"
view for new files (created in given commit).

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index f46a42296da0e66c0946c392c232058dcd09e34a..25e5079a89dd22e7c8eb2b7e3ac276681eae83b4 100755 (executable)
@@ -2239,7 +2239,7 @@ sub git_difftree_body {
                        }
                        print $cgi->a({-href => href(action=>"blob", hash=>$diff{'to_id'},
                                                     hash_base=>$hash, file_name=>$diff{'file'})},
-                                     "blob") . " | ";
+                                     "blob");
                        print "</td>\n";
 
                } elsif ($diff{'status'} eq "D") { # deleted