Patch Set 3: Looks good to me, but someone else must approve; IP review completed

Removed a bug for delete mode, rebased to master.

Now that the diff feature in jgit is merged to master we would like to show the diff in the UI.