* The host:remote syntax mess
@ 2005-11-11 1:22 Petr Baudis
2005-11-11 1:46 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Petr Baudis @ 2005-11-11 1:22 UTC (permalink / raw)
To: git
Hello,
I've just noticed that host:remote syntax seems to have been hijacked
again and is now attached to the GIT protocol in
Documentation/pull-fetch-param.txt
(which BTW misses git+ssh). I said "seems", because connect.c still
appears to assume it is SSH. So what is the plan? One possible
explanation is just that the git+ssh line should have been between the
git line and the : line in the documentation.
But if you really intend to change it, please don't. It's enough mess
as it is now, and I'm actually not convinced at all that we should
support it at all (god forbid promote it). When you have a location
specifier, you don't want it to randomly switch protocols, especially
such significantly different ones as ssh and git.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The host:remote syntax mess
2005-11-11 1:22 The host:remote syntax mess Petr Baudis
@ 2005-11-11 1:46 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2005-11-11 1:46 UTC (permalink / raw)
To: Petr Baudis; +Cc: git
Petr Baudis <pasky@ucw.cz> writes:
> I've just noticed that host:remote syntax seems to have been hijacked
> again and is now attached to the GIT protocol in
>
> Documentation/pull-fetch-param.txt
>
> (which BTW misses git+ssh). I said "seems", because connect.c still
> appears to assume it is SSH. So what is the plan?
Sorry about that. Thanks for noticing.
There is no plan to change that. This documentation gotcha was
just that yours truly stupidly merged documentation changes
without reading every single line.
-- >8 -- cut here -- >8 --
[PATCH] Documentation: "host:path/to/repo" is git native over ssh.
You could also spell it ssh://host:/path/to/repo (or git+ssh,
ssh+git), but without method:// is shorter to type, so mention
only that one in the short and sweet list.
Signed-off-by: Junio C Hamano <junkio@cox.net>
---
diff --git a/Documentation/pull-fetch-param.txt b/Documentation/pull-fetch-param.txt
index 5c2888e..ddd5823 100644
--- a/Documentation/pull-fetch-param.txt
+++ b/Documentation/pull-fetch-param.txt
@@ -8,7 +8,7 @@
- Rsync URL: rsync://remote.machine/path/to/repo.git/
- HTTP(s) URL: http://remote.machine/path/to/repo.git/
- git URL: git://remote.machine/path/to/repo.git/
- or remote.machine:/path/to/repo.git/
+- ssh URL: remote.machine:/path/to/repo.git/
- Local directory: /path/to/repo.git/
===============================================================
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-11 1:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 1:22 The host:remote syntax mess Petr Baudis
2005-11-11 1:46 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox