Commit 3665e7e
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>1 parent 1193042 commit 3665e7e
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4819 | 4819 | | |
4820 | 4820 | | |
4821 | 4821 | | |
4822 | | - | |
| 4822 | + | |
4823 | 4823 | | |
4824 | 4824 | | |
4825 | 4825 | | |
| |||
4829 | 4829 | | |
4830 | 4830 | | |
4831 | 4831 | | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
4832 | 4835 | | |
4833 | 4836 | | |
4834 | 4837 | | |
| |||
4840 | 4843 | | |
4841 | 4844 | | |
4842 | 4845 | | |
| 4846 | + | |
| 4847 | + | |
4843 | 4848 | | |
4844 | 4849 | | |
4845 | 4850 | | |
| |||
0 commit comments