threads / patch / 4734

patchgitweb: add --full-history to history generation optimization

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

## tl;dr

3 messages between Jul 2, 2006 and Jul 3, 2006. Diffs are folded; open one to read it.

replies: 2people: 2as markdown or json

Luben Tuikov· Jul 2, 2006, 04:42 UTC · lore

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(-)
Show changes to gitweb/gitweb.cgi +1 −1
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
Junio C Hamano· Jul 2, 2006, 05:22 UTC · re: Luben Tuikov · lore

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

Luben Tuikov <ltuikov@yahoo.com> writes:
> Now that Linus fixed full history generation, we can
> add this to the optimized history generation.

Thanks. I believe I have the same change in "next" already, but I had to munge your patches by hand so please holler if there is any mistake on my part.

Luben Tuikov· Jul 3, 2006, 01:38 UTC · re: Junio C Hamano · lore

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

--- Junio C Hamano <junkio@cox.net> wrote:
> Thanks.  I believe I have the same change in "next" already, but
> I had to munge your patches by hand so please holler if there is
> any mistake on my part.
Great, thanks.  I took a look at "next" and it looks good.
   Luben

← back to recent threads