11
I've got a personal/private repository on bitbucket that I'm trying to clone. When I clone from an Ubuntu box, I am able to clone the repository:
$ git clone https://<user>@bitbucket.org/<user>/<repo>.git
Cloning into '<repo>'...
Password for 'https://<user>@bitbucket.org':
remote: Counting objects: 586, done.
remote: Compressing objects: 100% (519/519), done.
remote: Total 586 (delta 65), reused 583 (delta 65)
Receiving objects: 100% (586/586), 2.55 MiB | 650 KiB/s, done.
Resolving deltas: 100% (65/65), done.
However, when I try the same command from cygwin, I get a silent failure:
$ git clone -v --progress https://<user>@bitbucket.org/<user>/<repo>.git
Cloning into <repo>...
And then git exits. I've spent an hour trying to track this down, but silent errors are kind of hard to google.
Things I've tried:
- reinstalling git in cygwin
- downgrading git in cygwin
- removing and rebuilding the .gitconfig file
- echo $? prints 141 (possibly relating to SIGPIPE?)
- setting GIT_CURL_VERBOSE did not produce any added output
note: git version is 1.7.5.1
Does anyone have any insight into what might be going on here?
edit/update
After finding no solution to the problem, I did a complete reinstall of cygwin and the problem seems to have gone away.