All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Ericsson <ae@op5.se>
To: jidanni@jidanni.org
Cc: git@vger.kernel.org, smartphones-userland@linuxtogo.org
Subject: Re: know wget URL, need git-clone URL
Date: Thu, 27 Nov 2008 10:00:22 +0100	[thread overview]
Message-ID: <492E61A6.5060800@op5.se> (raw)
In-Reply-To: <87bpw1hkqx.fsf@jidanni.org>

jidanni@jidanni.org wrote:
> I wish the git beginner documentation would tell one how to translate
> e.g., http://git.debian.org/?p=pkg-fso/files.git&a=blob_plain&f=install.sh
> which is good for wget, to the URL one needs for git-clone to get the
> same file.

You can't use "git clone" to get a single file. You can only get the
entire repository using "git clone". Usually, the clone-url is written
somewhere on the projects gitweb page, and that is also the case for
this repository.

If you visit http://git.debian.org/?p=pkg-fso/files.git;a=summary you'll
find this section on that page:

URL	git://git.debian.org/git/pkg-fso/files.git
	http://git.debian.org/git/pkg-fso/files.git

It's impossible to infer the clone url from the gitweb url, because there's
absolutely no connection between them (that will change if gitweb gains
fetch/clone support), and the paths/urls depends on the servers configuration
which we cannot know.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

      reply	other threads:[~2008-11-27  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27  4:10 know wget URL, need git-clone URL jidanni
2008-11-27  9:00 ` Andreas Ericsson [this message]

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=492E61A6.5060800@op5.se \
    --to=ae@op5.se \
    --cc=git@vger.kernel.org \
    --cc=jidanni@jidanni.org \
    --cc=smartphones-userland@linuxtogo.org \
    /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.