Avoid NPE when push refspec doesn't specify destination ref
commit25ce3e586eb04ecc9177d4b75c465f0874809e72
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 19 Jan 2014 22:51:54 +0000 (19 23:51 +0100)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Mon, 20 Jan 2014 10:35:53 +0000 (20 05:35 -0500)
treeba8220963855dc3edfafbdfb78e42b75e5d25d28
parent95b9fbf65fb08bf86b2bebf1a52f59bbfd6627aa
Avoid NPE when push refspec doesn't specify destination ref

If a push refspec omits :<dst>, the same ref as <src> will be updated.
See https://www.kernel.org/pub/software/scm/git/docs/git-push.html

Bug: 426067
Change-Id: Ia8bee28f0930373493835c74418dfb27ee98e36b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/ResourcePropertyTester.java