git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Bennett <benbennett@gmail.com>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>, git@vger.kernel.org
Subject: Re: clone from url with email address as username?(escaping @ symbol)
Date: Tue, 29 Sep 2009 10:31:30 -0500	[thread overview]
Message-ID: <970bc7c80909290831l59b7fc4at4ec0082f42f3ef87@mail.gmail.com> (raw)
In-Reply-To: <fabb9a1e0909290732h5119170ew133d906b67e49f99@mail.gmail.com>

I am attempting to do a https clone. The username is an email address
but when I do a clone here is what happens.

Here is what I get , I might be messing up the clone command . btw ,
if i leave switch it to ssh , yes it does resolve the url correctly.

git clone https://benjamin.j.bennett@fooserver.com@fooserver.com/git_repos/main-code.git/
test
Initialized empty Git repository in /home/benjamin/planning_workspace/test/.git/
Password:
error: Couldn't resolve host 'fooserver.com@fooserver.com' while
accessing https://benjamin.j.bennett@fooserver.com@myfooserver.com/git_repos/main-code.git//info/refs

On Tue, Sep 29, 2009 at 9:32 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> Heya,
>
> On Tue, Sep 29, 2009 at 16:30, Matthieu Moy
> <Matthieu.Moy@grenoble-inp.fr> wrote:
>> The question is which @ is the login/server separator, and which one
>> is included in the login. A quick test with
>
> I think it only makes sense that this would work, since any @ can
> never be part of the server name (since it's not an allowed
> character), so I'm still curious why Ben wants to escape his @.
>
> --
> Cheers,
>
> Sverre Rabbelier
>

  reply	other threads:[~2009-09-29 15:31 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
2009-09-29 14:32     ` Sverre Rabbelier
2009-09-29 15:31       ` Ben Bennett [this message]
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=970bc7c80909290831l59b7fc4at4ec0082f42f3ef87@mail.gmail.com \
    --to=benbennett@gmail.com \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).