Take care of errors reported from the server when upload command is started
commit42cb059b56d60be849bb40b9b236076bd6548744
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 22 Jun 2008 17:46:35 +0000 (22 19:46 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 28 Jun 2008 10:10:40 +0000 (28 12:10 +0200)
tree47eb52c2df4c3c9396e86870d28cc1137d72e35f
parent4cf736fdf3867490d04c65a04ca1431f7c1ecafb
Take care of errors reported from the server when upload command is started

When JSch cannot launch the command our SSH Channel will close immediately
in connect, resulting in a NullPointerException and a closed System.err
silencing an errors.

Using System.err for errors also means we get no feedback when using from
Eclipse.
org.spearce.egit.ui/src/org/spearce/egit/ui/EclipseSshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/DefaultSshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/SshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportGitSsh.java