Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360985

Summary: [Compare]Diff is not rendered properly for last line.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi, tomasz.zarna
Version: 0.2   
Target Milestone: 0.4 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2011-10-14 11:07:37 EDT
0.3RC2.
Steps:
1.Open a file where last line has no delimeter.
2.Before last line , add a new line. (e.g. org.eclipse.orion.client.git/web/git/git-status.css )
3.Save the file and go to git status.
4.Open compare editor.
5.It shows that last line was replaced by the new line.

Adding line in the middle of the fiel is OK.
Comment 1 libing wang CLA 2011-10-17 15:13:43 EDT
The issue is misleading if it gets hit.
Simon, please review it and see if it's worthwhile for RC3.
Comment 2 libing wang CLA 2011-11-28 09:21:05 EST
*** Bug 364948 has been marked as a duplicate of this bug. ***
Comment 3 libing wang CLA 2011-12-06 16:19:50 EST
fixed with 2efceb63fb7add98e0096451b7b15ac4d36d36be.
Also added more test cases on this.