Commit 5dbbf13
committed
Include remote error when pure SSH protocol fails
Right now, if spawning the remote command fails for some reason, we get
a message like the following in the trace output:
pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF
However, all we know is that we failed to connect to the remote
`git-lfs-transfer` process. That could be for any number of reasons:
the remote program doesn't exist or is not in `PATH`, the user has
misconfigured something locally or remotely, or any number of other
problems. We won't know unless we log the output, so let's do that so
we can get more information.1 parent 59194ad commit 5dbbf13
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
7 | 10 | | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| 60 | + | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| |||
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
0 commit comments