}
@Override
protected ICompareInput prepareCompareInput(IProgressMonitor monitor)
throws InvocationTargetException, InterruptedException {
ICompareInput input = createCompareInput();
getCompareConfiguration().setLeftEditable(isLeftEditable(input));
getCompareConfiguration().setRightEditable(isRightEditable(input));
ensureContentsCached(getLeftRevision(), getRightRevision(), getAncestorRevision(), monitor);
initLabels(input);
setTitle(NLS.bind(UIText.GitCompareFileRevisionEditorInput_CompareInputTitle, new String[] { input.getName() }));
// The compare editor (Structure Compare) will show the diff filenames
// with their project relative path. So, no need to also show directory entries.
DiffNode flatDiffNode = new NotifiableDiffNode(null,
ancestor != null ? Differencer.CONFLICTING : Differencer.CHANGE, ancestor, left, right);