git-clone tries to cd to a remote repository

From: Tero Roponen <hidden>
Date: 2016-06-15 22:43:10

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help