Bug 447258 - Quick diff/blame annotation shows "\ No newline at end of file" at the wrong place
Summary: Quick diff/blame annotation shows "\ No newline at end of file" at the wrong ...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 05:42 EDT by Tobias Oberlies CLA
Modified: 2014-10-15 05:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2014-10-15 05:42:02 EDT
I'm seeing the following quick diff (color tags added):

 size=1024
<red>
-minimum-processes=2
-maximum-processes=4
</red><green>
\ No newline at end of file
+minimum-processes=1
+maximum-processes=1
</green>

This doesn't make sense, but it is also a bit hard to say what would make sense. If shown in green, the "no newline" message should be at the bottom. There could also be a "no newline" message at the current position in red.

The shown commit neither added nor removed the newline at the end of the file. Before and after the commit, the file didn't have a newline at the end.