Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360985 - [Compare]Diff is not rendered properly for last line.
Summary: [Compare]Diff is not rendered properly for last line.
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M1   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 364948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-14 11:07 EDT by libing wang CLA
Modified: 2011-12-06 16:19 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.