1 Subject: [PATCH] gitweb: wrap rather than overflow long lines
3 Very long lines shown in the blob display would overflow the right
4 margin making for a very ugly layout.
6 Force them to wrap and indent if they are too long.
8 Since blame lines are contained in a <td></td> cell of a table the
9 wrapping technique must be entirely different from the one used for
10 blob display. For diff line wrapping a wrapping indicator must be
11 shown since diff displays do not have individual line numbers.
13 Adjust the CSS and class values so that when wrapping diff lines
14 only the lines that are actually part of the diff body are allowed
15 to wrap with line continuation characters.
17 In order for all of this wrapping to work properly, the browser
18 needs to support the word-wrap:break-word CSS property.
20 Also, while we're fixing wrapping problems, make the shortlog display
21 wrap in a sane fashion when there are many refs to show for a commit.
23 Signed-off-by: Kyle J. McKay <mackyle@gmail.com>