Re: [PATCH/RFC] gitweb: Great subroutines renaming
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 9, 2006, 10:51 UTC
- Message-ID
- <7vy7ty41xb.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <ebcd8r$bi7$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> 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 ;-).