New issue 471 by f.guerrieri: git clone hangs after initializing the
repository (windows 7)
http://code.google.com/p/msysgit/issues/detail?id=471
What steps will reproduce the problem?
1. Install msysGit (Git-1.7.0.2-preview20100309) I have also tried with
msysGit-fullinstall. (btw netinstall didn't work for me, it could be
related?)
2. clone a public repository from github, git clone
git://github.com/<repo-name>/<repo-name>.git
3. wait
What is the expected output? What do you see instead?
(From the git bash)
Welcome to Git (version 1.7.0.2-preview20100309)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
Francesco@PAN ~
% git clone git://github.com/<repo>/<repo>.git test_of_cloning
Initialized empty Git repository in C:/Users/Francesco/test_of_cloning/.git
then nothing happens. After ^C and cd test_of_cloning I get the following
prompt:
Francesco@PAN ~/test_of_cloning ((unknown))
& git log
fatal: Not a git repository (or any of the parent directories): .git
What version of the product are you using? On what Windows version (release
and CPU)?
1.7.0.2-preview20100309
Windows 7 ultimate (64 bit)
Intel core2 quad cpu
What steps did you perform to fix the issue yourself?
1) I have tried to init and clone a local repository: it works, so I can
assume that the git installation is functional.
2) I have tried both git:// and http:// protocol.
3) I have found a very similar issue on stackoverflow:
http://stackoverflow.com/questions/1452783/git-clone-with-msysgit-on-windows-not-working
but from the answer it appears that it should be fixed in release 1.7.0.2?
Please provide a script to reproduce the error:
See above.
Please provide any additional information below.
Let me know if I overlooked some issue in the tracker, I have been unable
to find relevant discussions.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Very puzzling: I have been able to clone a repository from github using the
http:
protocol (it was one of the "featured" repo, wpilot. Unfortunately I'm not
particularly interested into it). So I tried again with my repo of interest
and I get
with the http protocol a different result. After the initialization
message, I get
the following:
error: Unable to get pack file <....>.pack
transfer closed with 1510405 bytes remaining to read.
error: Unable to find 5aef9.... under http://github.com/<proj>/<proj>.git
Cannot obtain needed blob 5aef9.... while processing commit f76c....
error: Fetch failed.
I have been able to use git clone via the cygwin (using the http protocol
only). Now
that I know that git can be made to work on my own box, I will try again to
install
msysgit from scratch to see if the problems I had yesterday were due to
connectivity
issues or they are still present. I will report my findings.
Hi, sorry for the delay. Actually I have not had access to the windows
machine so I
couldn't try nothing. The problem is still here. Consider the following
screenshot,
from the netinstaller (already in my first post I supposed that it could be
related...). Obviously from the screenshot alone you cannot see how much
time
elapsed: it was well over 10 minutes.
@dvornik: can you share what kind of internet setup could I check? I am not
supposed
to be blocked but there's always the possibility of having some
misconfiguration.
Attachments:
msysgit_installer_stuck.PNG 32.8 KB
Probably an outgoing network connection to port 9418 is blocked in your
setup.
@johannes thanks for your suggestion, I appreciate it. I added an explicit
rule for
allowing outgoing connections to port 9418 but the outcome is the same.