Issue 471 in msysgit: git clone hangs after initializing the repository (windows 7)

501 views
Skip to first unread message

msy...@googlecode.com

unread,
Apr 10, 2010, 6:17:15 AM4/10/10
to msy...@googlegroups.com
Status: New
Owner: ----

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

msy...@googlecode.com

unread,
Apr 10, 2010, 6:29:18 AM4/10/10
to msy...@googlegroups.com

Comment #1 on issue 471 by f.guerrieri: git clone hangs after initializing

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.

msy...@googlecode.com

unread,
Apr 10, 2010, 10:10:07 AM4/10/10
to msy...@googlegroups.com

Comment #2 on issue 471 by f.guerrieri: git clone hangs after initializing

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.

msy...@googlecode.com

unread,
Apr 21, 2010, 1:58:33 PM4/21/10
to msy...@googlegroups.com

Comment #3 on issue 471 by dvornik: git clone hangs after initializing the
I gave this a try (Win7 x64, 8 cores, Git 1.7.0.2-preview20100309). I
assume the
URLs below are for the same wpilot repo you were cloning.

$ git clone git://github.com/jfd/wpilot.git test_of_cloning
--> This worked for me.

$ git clone http://github.com/jfd/wpilot.git test_of_cloning2
--> This worked for me, eventually (it just took >30sec, and clone over
HTTP gives no
progress-type output).

I also tried to set my network connection to "Public network" (i.e. more
aggressive
firewall), but that didn't change anything. Not sure what else to try.

Any update on your testing? Can you still reproduce the problem?

--
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


--
Subscription settings: http://groups.google.com/group/msysgit/subscribe?hl=en

msy...@googlecode.com

unread,
Apr 21, 2010, 2:40:31 PM4/21/10
to msy...@googlegroups.com

Comment #4 on issue 471 by f.guerrieri: git clone hangs after initializing
Thanks for your feedback. I will try it in the weekend, unfortunately I am
unable to
do it earlier.

msy...@googlecode.com

unread,
May 20, 2010, 6:35:59 PM5/20/10
to msy...@googlegroups.com
Updates:
Status: Invalid
Owner: dvornik

Comment #5 on issue 471 by dvornik: git clone hangs after initializing the
Closing due to lack of response from the reporter.
(If you come up with more data, let us know.)

msy...@googlecode.com

unread,
Jun 2, 2010, 4:03:32 AM6/2/10
to msy...@googlegroups.com

Comment #6 on issue 471 by f.guerrieri: git clone hangs after initializing

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

msy...@googlecode.com

unread,
Jun 2, 2010, 5:12:37 AM6/2/10
to msy...@googlegroups.com

Comment #7 on issue 471 by johannes.schindelin: git clone hangs after
initializing the repository (windows 7)
http://code.google.com/p/msysgit/issues/detail?id=471

Probably an outgoing network connection to port 9418 is blocked in your
setup.

msy...@googlecode.com

unread,
Jun 2, 2010, 6:39:09 AM6/2/10
to msy...@googlegroups.com

Comment #8 on issue 471 by f.guerrieri: git clone hangs after initializing

@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.

Reply all
Reply to author
Forward
0 new messages