]> source.dussan.org Git - jgit.git/commit
Propagate failure of ssh command to caller of SshSupport 06/124406/4
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 12 Jun 2018 12:09:39 +0000 (14:09 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 13 Jun 2018 09:24:24 +0000 (11:24 +0200)
commitf7fbc7fcd72becb06795e32d1ea263cf6185a670
tree836eec140c2cd3d0d84812b211195660798fceaf
parent5429d1a0cff593bf28186c38fde7e41798a2c0b8
Propagate failure of ssh command to caller of SshSupport

When SshSupport.runSshCommand fails since the executed external ssh
command failed throw a CommandFailedException.

If discovery of LFS server fails due to failure of the
git-lfs-authenticate command chain the CommandFailureException to the
LfsConfigInvalidException in order to allow root cause analysis in the
application using that.

Change-Id: I2f9ea2be11274549f6d845937164c248b3d840b2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.lfs/resources/org/eclipse/jgit/lfs/internal/LfsText.properties
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/errors/LfsConfigInvalidException.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsText.java
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/util/SshSupport.java