Re: [PATCH/RFC] gitweb: Great subroutines renaming

From: Jakub Narebski <>
Date: 2006-08-09 21:01:32
Junio C Hamano wrote:

> Jakub Narebski <> writes:
>> It is needed in gitweb to create pagination/paging navigation bar. 
>> Currently it is done by reading all the output into array, and 
>> checking length of this array.
> If you want to show 10 and do ... when you have more than that,
> the standard technique is to ask for 11 ;-).

It's not a problem to do '...'/'next' link _after_ the body, but
the paging navigation bar is at the _top_ of page, before 
outputting the body. See e.g.;a=shortlog
there is "HEAD * prev * next" at the top, and "next" at the bottom
of the revision list.

Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Wed Aug 09 21:02:18 2006

This archive was generated by hypermail 2.1.8 : 2006-08-09 21:02:56 EST