Re: Fetching a tree from a remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 4 May 2006, Johannes Schindelin wrote:

> Hi,
> 
> On Wed, 3 May 2006, Daniel Barkalow wrote:
> 
> > Is there something to do the opposite of git clone -n? That is, I want to 
> > fill a directory with a treeish ref, and I don't care about any history or 
> > bookkeeping.
> 
> Is git-tar-tree your friend or what?

The problem is that I'm on the build machine, and the repository is on the 
remote server. I suppose I could do "(ssh server 
GIT_DIR=/repo.git git-tar-tree HEAD) | tar -xf -", but that's not quite 
the most clear thing, and I'd have to split up the URLs. Also, it wouldn't 
work with only git: access to the repository.

(On the other hand, it does work for my actual application, I'm doing it 
from a Makefile, and it's blazingly fast, so I guess I'm set.)

	-Daniel
*This .sig left intentionally blank*
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]