diff options
author | Jakub Narebski <jnareb@gmail.com> | 2009-11-13 02:02:14 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-14 15:22:10 -0800 |
commit | 69ca37d2abe2ae92e3456341aeab2ad6a7380bf0 (patch) | |
tree | 9668272261e603610662c9c5b58914ad2b4788ea /t/t5510-fetch.sh | |
parent | gitweb: Refactor common parts of 'log' and 'shortlog' views (diff) | |
download | tgif-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 't/t5510-fetch.sh')
0 files changed, 0 insertions, 0 deletions