16
11
Alright, this is weird. First off, this is mintty running on up-to-date cygwin, with git pulled from cygwin's setup.exe. I am running zsh.
$ git clone https://<user>@<domain>/<repository>/ ~/src/project/dev
Initialized empty Git repository in /cygdrive/c/src/project/dev/.git/
Password: <actual password in plain text appears>
# Nothing happens...
^C
$ <password text that I just typed>
zsh: command not found: <same password text>
What is going on here? Is this a terminal problem, a shell problem, a git problem, or a cygwin problem?
Update: Yes, I'm running the Cygwin git version, not the Windows version:
$ which git
/usr/bin/git
$ git --version
git version 1.7.1
$ /cygdrive/c/Program\ Files\ \(x86\)/Git/bin/git.exe --version
git version 1.7.0.2.msysgit.0
1I'm guessing a terminal problem. The fact that your password appears suggests that the terminal isn't properly being put into silent mode (where it doesn't show the characters you type), and the fact that the password text appears again after you hit
^C
suggests that the characters aren't getting sent to stdin of the git process. But I don't know what the specific problem might be. – David Z – 2010-06-30T17:09:57.200Thanks for the clue - I came across this: http://code.google.com/p/mintty/issues/detail?id=56 - but there's no way to put git in interactive mode like the python executable...
– emptyset – 2010-06-30T18:09:24.8101Are you sure you're invoking Cygwin's version of git? Mintty issue 56 only applies to native Windows programs. – ak2 – 2010-07-01T05:15:44.007
Did you find a solution to this problem? – pauldoo – 2010-12-07T12:38:13.260