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

Suprising error message from "git clone"

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Aug 20, 2007, 14:45 UTC
Message-ID
<vpqwsvqmfhw.fsf@bauges.imag.fr>
Hi,
I got a suprising error message:
$ cd /tmp/
$ git clone ~/some/repository
Initialized empty Git repository in /tmp/repository/.git/
Warning: -l asked but cannot hardlink to /home/moy/some/repository/.git
114 blocks
$ 

I understand that git found the path to be local, and tried to hardlink, but it shouldn't say "-l asked", since I didn't ask for it.

Either the message should be changed to stg like "Warning: cannot hardlink to %s" or it should just be skipped if -l was not actually provided.

-- 
Matthieu
Next: Junio C Hamano
Message 1 of 4 in “Suprising error message from "git clone"”
  1. Matthieu MoyAug 20, 2007
  2. Junio C HamanoAug 20, 2007
  3. Matthieu MoyAug 20, 2007
  4. Junio C HamanoAug 20, 2007

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.