Thread (108 messages) 108 messages, 8 authors, 2017-10-25

Re: [PATCH 5/5] ssh: 'simple' variant does not support --port

From: Stefan Beller <hidden>
Date: 2017-10-23 22:37:11

On Mon, Oct 23, 2017 at 2:33 PM, Jonathan Nieder [off-list ref] wrote:
When trying to connect to an ssh:// URL with port explicitly specified
and the ssh command configured with GIT_SSH does not support such a
setting, it is less confusing to error out than to silently suppress
the port setting and continue.

This requires updating the GIT_SSH setting in t5603-clone-dirname.sh.
That test is about the directory name produced when cloning various
URLs.  It uses an ssh wrapper that ignores all its arguments but does
not declare that it supports a port argument; update it to set
GIT_SSH_VARIANT=ssh to do so.  (Real-life ssh wrappers that pass a
port argument to OpenSSH would also support -G and would not require
such an update.)

Reported-by: William Yan <redacted>
Signed-off-by: Jonathan Nieder <redacted>
---
That's the end of the series.  Thanks for reading.
Patches 4 & 5 look good to me,

Thanks,
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help