[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>
1 file changed