Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git push refspec URL weirdness

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:22

Jon Loeliger [off-list ref] writes:
So Junio suggested taking advantage of the fact that the
default refspec uses git+ssh and use this instead:

    URL: www.example.com:/pub/software/linux-2.6-86xx.git
    Push: my-branch:public-branch

Which just worked.

So this is either a bug report or google food. :-)
Actually, I did not suggest it as a workaround (I've never used
git+ssh:// URL myself -- I'm old fashioned -- and always used
host:path syntax).  If git+ssh:// insists on the fixed port, it
surely is broken, but I do not see how it would make a
difference.  In either case, connect.c::git_connect() goes
PROTO_SSH codepath which never opens a tcp connection itself --
it just calls the same "ssh" command.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help