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

git-clone tries to cd to a remote repository

From
TRTero Roponen <teanropo@jyu.fi>
Date
May 14, 2007, 15:41 UTC
Message-ID
<Pine.LNX.4.64.0705141836350.26948@jalava.cc.jyu.fi>
Hi,

the latest git seems to output a warning every time I try to clone a repository that is not local:

$ git --version git version 1.5.2.rc3.27.g43d151

$ git clone git://git.kernel.org/pub/scm/git/git.git /usr/local/bin/git-clone: line 23: cd: git://git.kernel.org/pub/scm/git/git.git: No such file or directory Initialized empty Git repository in /home/terrop/repositories/git/.git/ remote: Generating pack... ...

I think the output should be redirected to /dev/null, but I'm not a shell/git guru...

-- 
Tero Roponen
Next: Junio C Hamano
Message 1 of 2 in “git-clone tries to cd to a remote repository”
  1. Tero RoponenMay 14, 2007
  2. Fix git-clone buglet for remote case.Junio C Hamano, May 14, 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.