]> source.dussan.org Git - jgit.git/commit
PullCommand: use default remote instead of throwing Exception 53/2453/1
authorMathias Kinzler <mathias.kinzler@sap.com>
Tue, 8 Feb 2011 07:56:19 +0000 (08:56 +0100)
committerMathias Kinzler <mathias.kinzler@sap.com>
Tue, 8 Feb 2011 07:56:19 +0000 (08:56 +0100)
commit724af77c65c27eb24d41989bed3229910dbe063c
tree151dcf62ad5da23ae7cd50661b7196286de4d21d
parent0180946bc885436be2d3c205c7444bcdd57d85cd
PullCommand: use default remote instead of throwing Exception

When pulling into a local branch that has no upstream configuration,
pull should try to used the default remote ("origin") instead of
throwing an Exception.

Bug: 336504
Change-Id: Ife75858e89ea79c0d6d88ba73877fe8400448e34
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java