Skip to contentSkip to conversation

git-clone does not work if run in /temp

DISCUSSION Timur Tabi 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

If the current directory is '/temp', then git-clone fails:

$ git clone http://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git powerpc
ssh: /temp/http: Name or service not known
fatal: unexpected EOF
fetch-pack from '/temp/http:/git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git/.git' failed.

If I switch to /tmp and run git-clone again, it works.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale
author
#1 lore raw
Quoted 1 line · Timur Tabi

If the current directory is '/temp', then git-clone fails:

Update: I just noticed I have a directory called "http:" (yes, with the colon) in my /temp directory, and that was causing the problem.

I still think this is a bug in git, though. If I have time, I'll try to fix it myself.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale