git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git clone through http bug?

From
SOSergei 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.
Next: David Symonds
Message 1 of 3 in “git clone through http bug?”
  1. Sergei OrganovFeb 14, 2008
  2. David SymondsFeb 14, 2008
  3. Sergei OrganovFeb 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.