From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Ben Bennett <benbennett@gmail.com>, git@vger.kernel.org
Subject: Re: clone from url with email address as username?(escaping @ symbol)
Date: Tue, 29 Sep 2009 16:30:30 +0200 [thread overview]
Message-ID: <vpq1vlp962h.fsf@bauges.imag.fr> (raw)
In-Reply-To: <fabb9a1e0909290725w616c3ea9vcb1d2c53950f7788@mail.gmail.com> (Sverre Rabbelier's message of "Tue\, 29 Sep 2009 16\:25\:58 +0200")
Sverre Rabbelier <srabbelier@gmail.com> writes:
> Heya,
>
> On Tue, Sep 29, 2009 at 16:20, Ben Bennett <benbennett@gmail.com> wrote:
>> Is there any escape sequence for the @ symbol when cloning?
>
> I thought @ is not allowed to be in an url? What do you need to
> escape it for?
If your username is "foo@bar.com", then the clone URL might well be
ssh://foo@bar.com@server.com/path/to/repo
The question is which @ is the login/server separator, and which one
is included in the login. A quick test with
git clone ssh://foo@bar.com@localhost/path/to/repo
shows me that Git does the right thing, i.e. uses "foo@bar.com" as the
login, without the need to escape it.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
next prev parent reply other threads:[~2009-09-29 14:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 14:20 clone from url with email address as username?(escaping @ symbol) Ben Bennett
2009-09-29 14:25 ` Sverre Rabbelier
2009-09-29 14:30 ` Matthieu Moy [this message]
2009-09-29 14:32 ` Sverre Rabbelier
2009-09-29 15:31 ` Ben Bennett
2009-09-29 16:59 ` Matthieu Moy
2009-09-29 17:07 ` Matthieu Moy
2009-09-29 17:48 ` Daniel Stenberg
2009-09-29 18:09 ` Matthieu Moy
2009-09-29 20:38 ` Daniel Stenberg
2009-09-29 20:47 ` Matthieu Moy
2009-09-29 17:51 ` Ben Bennett
2009-09-29 18:03 ` Matthieu Moy
2009-09-29 18:12 ` Matthieu Moy
2009-09-29 18:55 ` Ben Bennett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpq1vlp962h.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=benbennett@gmail.com \
--cc=git@vger.kernel.org \
--cc=srabbelier@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.