]> Lady’s Gitweb - Gitweb/commit
gitweb: Refactor common parts of 'log' and 'shortlog' views
authorJakub Narebski <redacted>
Fri, 13 Nov 2009 01:02:13 +0000 (02:02 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
commit82b84578cbfb83aa1549d94dd5fca0f60a77ee7afeceabc0ca5dfdd14219f454
tree11a8e9b3b37c3a8a82da0c29f3a3a1b0599dede7117e38765130eda4e7fd6951
parenta040232a8f88efb9caaba991ebb3a386eba3d8d9f0f9c10fbb82ed774d8f1253
gitweb: Refactor common parts of 'log' and 'shortlog' views

Put the common parts of git_log and git_shortlog into git_log_generic
subroutine: git_log and git_shortlog are now thin wrappers calling
git_log_generic with appropriate arguments.

The unification of code responsible for 'log' and 'shorlog' actions
lead to the following changes in gitweb output
 * 'tree' link in page_nav now uses $hash parameter, as was the case
   for 'shortlog' but not for 'log'
 * 'log' view now respect $hash_parent limiting, like 'shortlog' did
 * 'log' view doesn't have special case for empty list anymore, and it
   always uses page_header linking to summary view, like 'shortlog'
   did.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.277809 seconds and 4 git commands to generate.