]> source.dussan.org Git - jgit.git/commit
Improve exception thrown when pull can't find advertised ref 35/45835/7
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 15 Apr 2015 06:40:05 +0000 (08:40 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 28 May 2015 22:15:33 +0000 (00:15 +0200)
commitefacad0fc8e98505be6f007230ab2b1cdc1684f3
tree8e9ae94c4c038c6ac39b1e74bbbcf81c30931eac
parent8787176ef1cd4c7b7fc6e312bdf680f384c38467
Improve exception thrown when pull can't find advertised ref

- throw an API exception instead of an internal exception to allow
applications to handle this problem
- improve error message to give hints about possible root causes

Bug: 464660
Change-Id: Ib7d18bb2eeeac0fc218daea375b290ea5034bda1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/RefNotAdvertisedException.java [new file with mode: 0644]