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

Bug 356078

Summary: [server][diff] Use JGit's DiffFormatter to generate diffs
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.3 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Tomasz Zarna CLA 2011-08-29 09:49:47 EDT
Switching to DiffCommand would be ideal [1], but until bug 354919 is fixed we could go around our copy-pasted Diff[2] and make use of JGit's DiffFormatter directly.

[1] bug 338205
[2] org.eclipse.orion.server.git/src/org/eclipse/orion/server/git/servlets/Diff.java