~vcs-imports/egit/master

Viewing all changes in revision 4332.

  • Committer: Michael Keppler
  • Author(s): Michael Keppler
  • Date: 2019-08-15 06:50:37 UTC
  • Revision ID: git-v1:dbd7838aba2f54b28d4d5601f994e70cc2ddab2d
Always check for merge commit when opening file diff

The 2-way file diff is invoked from 3 different places in the code, but
only one of them checked whether the diff was a merge commit. Move that
check into the file diff method itself to have all 3 invocations
checked.

It might be possible that the other 2 invocations cannot be called for
merge commits due to other external logic, but let's be fault tolerant
here by always forbidding this.

Change-Id: Ieaacc0c0ddf0bdbc273891cd557ab55ff5560133
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: