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

Bug 342502

Summary: [client] some diffs not shown properly in compare view
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: libingw, simon_kaegi
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 339397    
Bug Blocks:    
Attachments:
Description Flags
screenshot of changes that aren't highlighted none

Description Susan McCourt CLA 2011-04-11 19:49:19 EDT
I was playing with the git log UI and found a case where the diffs were not shown properly in the compare page.  Here is my URL (can't be reused directly but this will show you what commit I was looking at.)

http://localhost:8080/coding.html#http://localhost:8080/git/commit/c42d5c57abb2e2bdaeefee24e14755b42e53a0fa/file/m/bundles/org.eclipse.orion.client.core/static/plugins/sampleCommandsPlugin.html?parts=body

I was looking at sampleCommandsPlugin.html (one commit behind the current).  The UI shows where changes are but doesn't highlight anything.
Comment 1 Susan McCourt CLA 2011-04-11 19:51:18 EDT
Created attachment 192990 [details]
screenshot of changes that aren't highlighted
Comment 2 libing wang CLA 2011-04-12 09:39:07 EDT
From the screenshot , it seems git diff gives back a huge diff.(actually everything was highlighted , as light grey)
Susan , could you find something like below , in your browser console and paste the response here?


GET http://localhost:8080/git/diff/**********/?parts=diff
Comment 3 libing wang CLA 2011-04-15 11:52:04 EDT
I think it is duplicated to bug 339397.
Comment 4 Susan McCourt CLA 2011-04-18 16:13:51 EDT
(In reply to comment #3)
> I think it is duplicated to bug 339397.

you are probably right about this.  I ran into some trouble with git status the other day and set my autocrlf back and used git gui.  So I was back in the state of that bug.
Comment 5 John Arthorne CLA 2015-05-05 14:54:19 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html