aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2009-11-13 02:02:14 +0100
committerJunio C Hamano <gitster@pobox.com>2009-11-14 15:22:10 -0800
commit69ca37d2abe2ae92e3456341aeab2ad6a7380bf0 (patch)
tree9668272261e603610662c9c5b58914ad2b4788ea /README
parent15f0b112d86001b0ae4be2555513c45b3cf65844 (diff)
downloadgit-69ca37d2abe2ae92e3456341aeab2ad6a7380bf0.tar.gz
git-69ca37d2abe2ae92e3456341aeab2ad6a7380bf0.tar.xz
gitweb: Make 'history' view (re)use git_log_generic()
Make git_history use git_log_generic, passing git_history_body as one of its paramaters. This required changes to git_log_generic, in particular passing more things as parameters. While refactoring common code of 'log', 'shortlog' and 'history' view, we did unify pagination, using always the form used by 'history' view, namely first * prev * next in place of HEAD * prev * next used by 'log' and 'shortlog' views. The 'history' view now supports commit limiting via 'hpb' parameter, similarly to 'shortlog' (and 'log') view. Performance of 'history' view got improved a bit, as it doesn't run git_get_hash_by_path for "current" version in a loop. Error detection and reporting for 'history' view changed a bit. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions