git clone through http bug?
- From
- Sergei Organov <osv@javad.com>
- Date
- Feb 14, 2008, 17:27 UTC
- Message-ID
- <873arvv479.fsf@osv.gnss.ru>
Hello,
I've just cloned the public repo (it's rather small):
$ git clone http://ydirson.free.fr/soft/git/cvsps.git
and it has created cvsps/.git, but no working copy. When I examine the contents, I also notice that while the file .git/HEAD has:
ref: refs/heads/master
there is no .git/refs/heads/master file (the directory .git/refs/heads is empty).
Now, if I first clone the original repository as --bare, and then make a usual local clone from it, the local clone looks file:
$ git clone --bare http://ydirson.free.fr/soft/git/cvsps.git $ git clone cvsps.git cvsps.cloned
Is it a problem with clone over http, a problem with the repository, or it's me who does something wrong?
-- Sergei.