Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
2.4.3, 2.5.0
-
None
-
None
Description
The annotation view for a file uses the blame as the starting point for rendering. The logic is as follows:
for each blame chunk:
- write the annotation
- for line=chunk.start to chunk.end
- write the line of the source
If for some reason the blame is incorrect (e.g. CRUC-5215) and has too few or too many lines, the resulting annotation is incorrect (truncated or extraneous blame annotations).
One example of the annotation view getting it wrong. Compare the annotated view with the raw view:
Annotation view:
Raw view:
Attachments
Issue Links
- duplicates
-
FE-3668 File source is truncated on the view source page if the blame for the file is incorrect
- Closed