Re: git-clone seems dead
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 11, 2005, 19:04 UTC
- Message-ID
- <7vd5nfs9y0.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <vhp64t7v5ff.fsf@ebar091.ebar.dtu.dk>
Peter Eriksen <s022018@student.dtu.dk> writes:
Show 9 quoted lines
> All commands works fine except "git clone" which prints: > > <cite> > defaulting to local storage area > * git clone [-l [-s]] [-q] [-u <upload-pack>] <repo> <dir> > </cite> > > and leaves my-git/.git empty. So the problem is, that I can't > get "git clone" to work, and I think, I am making correct steps.
Hmph. All your steps seem sane, and after removing my git installation on one of my machines I tried the exact steps as above but did not get this.
The message 'defaulting to local storage area' comes from git-init-db, and '* git clone ...' comes from usage.
dir="$2"
mkdir "$dir" &&
D=$(
(cd "$dir" && git-init-db && pwd)
) &&
test -d "$D" || usageIf you had my-git directory you would get the usage but not 'defaulting...', so that is not it. The only possibility I could think of is your 'pwd' says something different than the working directory name? I am very confused..