]> Lady’s Gitweb - Gitweb/commit
gitweb: Improve "next" link in commitdiff view
authorJakub Narebski <redacted>
Fri, 8 Jun 2007 11:26:31 +0000 (13:26 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit612d138d17e6177be48b34b838fd570289ba15c2d38b9c8c04b56a72b1389d3c
tree6b16fce84cc9be226a25ee8765f51c6237c53f2bd64f2b46813bf23640921a68
parent57e25ee7cb4a124c341a506baa3310f639c34abed7ed4d12280ef34e0a558f1f
gitweb: Improve "next" link in commitdiff view

Check if 'hp' (hash_parent) parameter to 'commitdiff' view is one of
'h' (hash) commit parents, i.e. if commitdiff is of the form
"<commit>^<n> <commit>", and mark it as such in the bottom part of
navigation bar. The "next" link in commitdiff view was introduced
in commit 151602df00b8e5c5b4a8193f59a94b85f9b5aebc

If 'hb' is n-th parent of 'h', show the following at the bottom
of navigation bar:
  (from parent n: _commit_)

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