[442227] Compare an untracked file with HEAD.36/43236/53.1.0M6
commitdde75fc4abef6086691713c7871786326f6f6417
authorAxel Richard <axel.richard@obeo.fr>
Thu, 5 Mar 2015 13:40:09 +0000 (5 14:40 +0100)
committerLaurent Delaigue <laurent.delaigue@obeo.fr>
Fri, 13 Mar 2015 13:19:29 +0000 (13 09:19 -0400)
tree98756b74a47426d201d32ee3f7975407faefd671
parent1767592c59cd27c2610c3c81a0d0262a6633f751
[442227] Compare an untracked file with HEAD.

Fix IllegalArgumentException trying to compare an untracked file with
HEAD. Just like the origin side, the right/remote side of the comparison
can be null, e.g compare an untracked file with HEAD.

Bug: 442227
Change-Id: I8454e7cccb3e75181d2cab60e438d588566c9326
Signed-off-by: Axel Richard <axel.richard@obeo.fr>
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/logical/ComparisonScopeBuilder.java