Re: FR: Clone just the desired subdirectory
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 25, 2010, 14:30 UTC
- Message-ID
- <AANLkTiks9r5IpwPyCHxGEDqkiBB3rLiWK8zwLcxSB-9P@mail.gmail.com>
- In-Reply-To
- <AANLkTilyvCWyWzqPGxtg9tkRM5SjXxbt50P5zImlxCHD@mail.gmail.com>
Heya,
On Fri, Jun 25, 2010 at 16:24, Laszlo Papp <djszapi@archlinux.us> wrote:
Show 5 quoted lines
> 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.
Basically what you want is the ability to say "give me the tree and corresponding blobs for directory foo in revision bar" (where bar is usually HEAD). This ties in with the work on spare/narrow checkouts/clones, which seems to have stagnated.
-- Cheers, Sverre Rabbelier