From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Using msysgit and Github and eshell/shell on Windows Date: Wed, 13 Jun 2012 14:01:42 +0400 Message-ID: <877gvb7cop.fsf@yandex.ru> References: <5F470B9B-1262-4C2F-B2F0-64E7453F98B5@bbheim.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1339581728 10517 80.91.229.3 (13 Jun 2012 10:02:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2012 10:02:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 12:02:06 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SekOo-0007zy-PW for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 12:02:02 +0200 Original-Received: from localhost ([::1]:52939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekOo-000088-OV for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2012 06:02:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekOh-00005k-N8 for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:02:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SekOf-0001j4-Mc for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:01:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SekOf-0001iP-Fh for emacs-devel@gnu.org; Wed, 13 Jun 2012 06:01:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SekOX-000743-Bc for emacs-devel@gnu.org; Wed, 13 Jun 2012 12:01:45 +0200 Original-Received: from 178.252.98.87 ([178.252.98.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 12:01:45 +0200 Original-Received: from dgutov by 178.252.98.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jun 2012 12:01:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 178.252.98.87 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt) Cancel-Lock: sha1:9qB8hpsryqDN+p5tBF3kPpcUAyY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150915 Archived-At: Hi Bastian, > Whenever I run any git command that requires authentication (push, > pull, fetch basically), Emacs starts the git process, but it never > finishes. If I use the same commands (with the same executables) in > different shells such as CMD, powershell, the git shell or the msys > shell, git prompts me for my username and password. If I run the same > commands in Emacs on OSX, Emacs even prompts me for my possword in the > minibuffer! On Windows however, Emacs does not prompt me for my > username or password, but apparently still waits for it eternally and > the command just never completes. It's a known issue under MS Windows. See 7.2 here: http://www.gnu.org/software/emacs/windows/Sub_002dprocesses.html#Sub_002dprocesses > Any pointers on how to debug this would be greatly appreciated. As far as I know, the generally accepted way is to set up Git to use plink.exe instead of plain SSH. You'd need to launch pageant.exe before using any Git functionality that requires authentication, but on the upside, you'll only have to enter the password once per startup. https://github.com/hbons/SparkleShare/wiki/Using-putty-pageant-as-ssh-agent http://stackoverflow.com/questions/2985074/how-do-i-set-git-to-use-plink-exe -- Dmitry