git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitweb: Remove superfluous "|" in "commit" view

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 8, 2007, 01:10 UTC
Message-ID
<11682186422078-git-send-email-jnareb@gmail.com>

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>
---
 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index f46a422..25e5079 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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
-- 
1.4.4.3
Message 1 of 1 in “gitweb: Remove superfluous "|" in "commit" view”
  1. gitweb: Remove superfluous "|" in "commit" viewJakub Narebski, Jan 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.