From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: Laszlo Papp <djszapi@archlinux.us>
Cc: Git List <git@vger.kernel.org>
Subject: Re: FR: Clone just the desired subdirectory
Date: Fri, 25 Jun 2010 22:27:38 +0200 [thread overview]
Message-ID: <20100625202738.GA3696@atjola.homenet> (raw)
In-Reply-To: <AANLkTilyvCWyWzqPGxtg9tkRM5SjXxbt50P5zImlxCHD@mail.gmail.com>
On 2010.06.25 16:24:52 +0200, Laszlo Papp wrote:
> Is there a way to clone
> git://git.openembedded.org/openembedded/recipes/qt4, not the whole
> repository ?
Here you ask for a subdirectory clone.
> My friend asked it from me, but I couldn't advise anything to him, but
> this request does make sense by me. So he would like to download a
> part of a git repository and he is not interested in the index and the
> history, so it would be nice to have something like git archive
> --remote or similar command which can do this operation.
Here you say that your friend doesn't bother about the history, but just
wants a snapshot.
So which functionality are you actually asking for? The latter can
already be handled by git archive:
git archive --remote=<repo> <tree-ish>
For example:
git archive --remote=git://localhost/some/repo.git HEAD:some/directory
git-daemon just doesn't allow it by default, you need to enable the
upload-archive service.
Björn
prev parent reply other threads:[~2010-06-25 20:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 14:24 FR: Clone just the desired subdirectory Laszlo Papp
2010-06-25 14:30 ` Sverre Rabbelier
2010-06-25 20:27 ` Björn Steinbrink [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=20100625202738.GA3696@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=djszapi@archlinux.us \
--cc=git@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox