From: Marc Singer <elf@buici.com>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: git clone rsync:... ?
Date: Mon, 11 Jul 2005 15:21:12 -0700 [thread overview]
Message-ID: <20050711222112.GA21248@buici.com> (raw)
In-Reply-To: <7v4qb1ouwk.fsf@assigned-by-dhcp.cox.net>
On Mon, Jul 11, 2005 at 03:11:23PM -0700, Junio C Hamano wrote:
> Marc Singer <elf@buici.com> writes:
>
> > elf@florence /git > git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6
> > defaulting to local storage area
> > ssh: rsync: Name or service not known
> > fatal: unexpected EOF
>
> Hmph. "git clone rsync://rsync.kernel.org/pub/scm/git/git.git git.git"
> seems to work so does the exact command you show above. Is it
> possible that you are running git-clone-script from an older Git?
What I've been doing is pulling the cogito source, this time directly
from the net accessible repo, building it, and then copying the
binaries to a special directory I added to my path
elf@florence ~...git/bin > cat git-clone-script
#!/bin/sh
repo="$1"
dir="$2"
mkdir "$dir" && cd "$dir" && git-init-db && git-clone-pack "$repo"
What more could I need?
>
> > Moreover, I'd like to be able to
> > keep one repo that is just pulling from the net and then clone it for
> > different working directories.
>
> That is a sane thing to ask. Assuming you have solved the above
> problem:
>
> $ ls
> linux-2.6
> $ git clone -l linux-2.6 linux-ms
> $ git clone -l linux-2.6 linux-ms-net
> $ git clone -l linux-2.6 linux-ms-ide
> $ git clone -l linux-2.6 linux-ms-usb
>
> would make local clones of vanilla linux-2.6 repo you locally
> have ("-l" knows to use hardlinks when possible).
That, too, has been failing. I think for some different reason.
elf@florence ~/z/embedded > git clone -l linux-2.6 linux-2.6-cloned
mkdir: cannot create directory `linux-2.6': File exists
Looks like something's borked.
next prev parent reply other threads:[~2005-07-11 22:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-11 21:30 git clone rsync:... ? Marc Singer
2005-07-11 22:11 ` Junio C Hamano
2005-07-11 22:21 ` Marc Singer [this message]
2005-07-11 22:36 ` Junio C Hamano
2005-07-11 22:41 ` Marc Singer
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=20050711222112.GA21248@buici.com \
--to=elf@buici.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).