summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43ffc06)
raw | patch | inline | side by side (parent: 43ffc06)
author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 30 Jul 2006 18:31:00 +0000 (20:31 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 31 Jul 2006 01:41:41 +0000 (18:41 -0700) |
Remove $project from arguments passed to git_get_paging_nav
subroutine: it did not depend only on arguments, using $my_uri global
variable (and now $project global variable).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
subroutine: it did not depend only on arguments, using $my_uri global
variable (and now $project global variable).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi | patch | blob | history |
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 8e5e4c83c5c0f865aacb4059acccae778ac9439f..3134b9ce569208efcf66bac284f14757db15ffa2 100755 (executable)
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
}
sub git_get_paging_nav {
- my ($project, $action, $hash, $head, $page, $nrevs) = @_;
+ my ($action, $hash, $head, $page, $nrevs) = @_;
my $paging_nav;
my @revlist = map { chomp; $_ } <$fd>;
close $fd;
- my $paging_nav = git_get_paging_nav($project, 'log', $hash, $head, $page, $#revlist);
+ my $paging_nav = git_get_paging_nav('log', $hash, $head, $page, $#revlist);
git_header_html();
git_page_nav('log','', $hash,undef,undef, $paging_nav);
my @revlist = map { chomp; $_ } <$fd>;
close $fd;
- my $paging_nav = git_get_paging_nav($project, 'shortlog', $hash, $head, $page, $#revlist);
+ my $paging_nav = git_get_paging_nav('shortlog', $hash, $head, $page, $#revlist);
git_header_html();
git_page_nav('shortlog','', $hash,$hash,$hash, $paging_nav);