Community
Participate
Working Groups
We need a compare/diff viewer. For finding differences, there are various solutions. Look at gerrit - are the diff pieces reusable...or is there a web service to call gerrit http://code.google.com/p/gerrit/ Bespin and Collabedit both use the google diff library (as does google docs). We should look into this. http://code.google.com/p/google-diff-match-patch/ Here's a (BSD license) free js lib for diffing, but it seems inactive. http://snowtide.com/jsdifflib Felipe Heidrich Nov 22, 2010 1:15 P.M. My two cents: You can use any library you want find the differences, but to display the diffs you should use our web editor.
Libing, there is org.eclipse.orion.client.git bundle where you could move your compare UI. Moreover you will find JS GitService there, which you can use for getting diffs.
(In reply to comment #1) > Libing, there is org.eclipse.orion.client.git bundle where you could move your > compare UI. Moreover you will find JS GitService there, which you can use for > getting diffs. The compare UI should have no dependency on git - if I am using a different SCM I will still want to view diffs. Or consider the use case of selecting any two files in the navigator and doing "compare with each other". Of course there is a piece that needs to be aware of the Git web service for obtaining diffs.
(In reply to comment #2) I see. I thought this is just a Git Diff viewer. Anyway JS Git Service is in the Git Client bundle, so Libing feel free to make changes there.
the feature is there as the side by side compare viewer .You can open this page by going to the git status and open it from a changed file. From post M6 this viewer will be enhanced as a merge editor .