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

3 messages from 2006-07-02 to 2006-07-03. Participants: Luben Tuikov, Junio C Hamano.
Thread: https://gitlist.dev/t/4734

## Luben Tuikov, 2006-07-02 04:42

Subject: [PATCH] gitweb: add --full-history to history generation optimization
Message-ID: <20060702044206.75887.qmail@web31806.mail.mud.yahoo.com>
URL: https://gitlist.dev/e/20060702044206.75887.qmail%40web31806.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

```

## Junio C Hamano, 2006-07-02 05:22

Subject: Re: [PATCH] gitweb: add --full-history to history generation optimization
Message-ID: <7vu060bmxy.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vu060bmxy.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20060702044206.75887.qmail@web31806.mail.mud.yahoo.com>

```
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, 2006-07-03 01:38

Subject: Re: [PATCH] gitweb: add --full-history to history generation optimization
Message-ID: <20060703013806.29750.qmail@web31805.mail.mud.yahoo.com>
URL: https://gitlist.dev/e/20060703013806.29750.qmail%40web31805.mail.mud.yahoo.com
In-Reply-To: <7vu060bmxy.fsf@assigned-by-dhcp.cox.net>

```
--- 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

```
