diff options
author | Jakub Narebski <jnareb@gmail.com> | 2007-06-08 13:26:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-10 16:57:48 -0700 |
commit | ada3e1f7334b19c98688bcbd7a24d6b559173dfa (patch) | |
tree | b1a946b1de0c6c3450a081f06cfb84d458868591 /remote.c | |
parent | gitweb: Provide links to commitdiff to each parent in 'commitdiff' view (diff) | |
download | tgif-ada3e1f7334b19c98688bcbd7a24d6b559173dfa.tar.xz |
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions