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

[PATCH] gitweb: add --full-history to history generation optimization

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Jul 2, 2006, 04:42 UTC
Message-ID
<20060702044206.75887.qmail@web31806.mail.mud.yahoo.com>

Now that Linus fixed full history generation, we can add this to the optimized history generation.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
---
 gitweb/gitweb.cgi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index d808900..934af4a 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -2296,7 +2296,7 @@ sub git_history {
 	      "</div>\n";
 	print "<div class=\"page_path\"><b>/" . esc_html($file_name) . "</b><br/></div>\n";
 
-	open my $fd, "-|", "$gitbin/git-rev-list $hash -- \'$file_name\'";
+	open my $fd, "-|", "$gitbin/git-rev-list --full-history $hash -- \'$file_name\'";
 	print "<table cellspacing=\"0\">\n";
 	my $alternate = 0;
 	while (my $line = <$fd>) {
-- 
1.4.1.rc2.gffcf
Next: Junio C Hamano
Message 1 of 3 in “gitweb: add --full-history to history generation optimization”
  1. gitweb: add --full-history to history generation optimizationLuben Tuikov, Jul 2, 2006
  2. Junio C HamanoJul 2, 2006
  3. Luben TuikovJul 3, 2006

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.