]> source.dussan.org Git - jgit.git/commit
Add lookup to remote config if the refSpec is not explicitly set 08/3808/3
authorStefan Lay <stefan.lay@sap.com>
Mon, 4 Jul 2011 11:20:51 +0000 (13:20 +0200)
committerStefan Lay <stefan.lay@sap.com>
Mon, 4 Jul 2011 11:20:51 +0000 (13:20 +0200)
commite2815f0121332a9df3fa35ca6e4c8d28239ea8c4
tree2c4a7cec3a24b4bd2c16251c7a71a1778672c4ab
parenteb46d7ffdc6dee1f8570d4be3b6c33cee8fa91c7
Add lookup to remote config if the refSpec is not explicitly set

If no refSpec is explicitly set, the PushCommand should first check the
remote config and then as a fallback use the current behavior.

Change-Id: I2bc648abc517b1d01b2de15d383423ace2081e72
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/PushCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java