gitweb: add a "string" variant of print_sort_th
authorJohn 'Warthog9' Hawley <warthog9@kernel.org>
Sat, 30 Jan 2010 22:30:43 +0000 (23:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 30 Jan 2010 23:53:54 +0000 (15:53 -0800)
commit1ee4b4ef70e26c540d028cc497313000e63cd7dc
tree071178979734c36adac693170ad13d7bf10ac7d8
parent0cf207f7a621d2f15bc3a5ec0fa6a7c8f3333386
gitweb: add a "string" variant of print_sort_th

Add a function (named format_sort_th) that returns the string that
print_sort_th would print.

Signed-off-by: John 'Warthog9' Hawley <warthog9@kernel.org>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl