author | Jakub Narebski <jnareb@gmail.com> | |
Fri, 24 Jul 2009 22:44:04 +0000 (00:44 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 25 Jul 2009 08:39:16 +0000 (01:39 -0700) | ||
commit | 3665e7e7f2b210f6896815d563255c364a861a6e | |
tree | 1cdc586ec69e63af250f6a2b4f2f361183bf7f92 | tree | snapshot |
parent | 11930423d11c1256014e10b940c4ee8f12328739 | commit | diff |
gitweb: Mark commits with no "previous" in 'blame' view
Use "no-previous" class to mark blamed commits which do not have
"previous" header. Those are commits in which blamed file was created
(added); this includes boundary commits. This means that 'linenr'
link leads to blamed commit, not (one of) parent of blamed commit.
Therefore currently line number for such commit uses bold weight font
to denote this situation; the effect is subtle.
Use "multiple-previous" class in the opposite situation, where blamed
commit has multiple "previous" headers (is an evil merge). Currently
this class is not used for styling. In this situation 'linenr' link
leads to first of "previous" commits (first parent).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Use "no-previous" class to mark blamed commits which do not have
"previous" header. Those are commits in which blamed file was created
(added); this includes boundary commits. This means that 'linenr'
link leads to blamed commit, not (one of) parent of blamed commit.
Therefore currently line number for such commit uses bold weight font
to denote this situation; the effect is subtle.
Use "multiple-previous" class in the opposite situation, where blamed
commit has multiple "previous" headers (is an evil merge). Currently
this class is not used for styling. In this situation 'linenr' link
leads to first of "previous" commits (first parent).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.css | diff | blob | history | |
gitweb/gitweb.perl | diff | blob | history |