From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Git never commits, Magit never pushes Date: Sat, 02 Apr 2011 09:18:04 +0200 Organization: Sebastien Vauban Message-ID: <807hbdceab.fsf@somewhere.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301730056 16919 80.91.229.12 (2 Apr 2011 07:40:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2011 07:40:56 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Sat Apr 02 09:40:52 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5vRx-0001vG-Ql for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Apr 2011 09:40:50 +0200 Original-Received: from localhost ([127.0.0.1]:39983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5vRs-0007tv-Te for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Apr 2011 03:40:44 -0400 Original-Path: usenet.stanford.edu!news-transit.tcx.org.uk!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 67 Injection-Info: mx01.eternal-september.org; posting-host="XagHMo1qM1HuK1lQg5GM9g"; logging-data="15922"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1+9fGn4LLeP+Far8OEfWXea" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:dQzxNQNP5asDKmU/iaQVhxtpKlc= sha1:8EbQu5+5pzMmRfX97Wn/LqoZnHk= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:186455 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:80575 Archived-At: Hello, I try using git (from git.el, in git-contrib-emacs, downloaded from Git's W= eb site) to manage my files. I can add "Unknown" files, that works (with `a', then my log message, follo= wed by `C-c C-c'). They get the new status "Uptodate". However, I cannot *commit* "Modified" files from Emacs (with `c', then my l= og message, followed by `C-c C-c'): --8<---------------cut here---------------start------------->8--- Running git commit... error: css/leuven.css: cannot add to the index - missing --add option? fatal: Unable to process path css/leuven.css --8<---------------cut here---------------end--------------->8--- Doing the commit "by hand" from the command line (Bash) works: --8<---------------cut here---------------start------------->8--- git commit css/leuven.css -m "Fix colors." --8<---------------cut here---------------end--------------->8--- When refreshing the `*git-status*' buffer (with `g'), I see the file as "Uptodate". So, something seems wrong with the commit command used by git.el? I'm reluctant to use Magit, as I loose the interactive ediff feature (confirmed?), which I'm fond of, but OK... There I can perfectly stage files and even commit them. But I cannot *push* them: the command never returns, it never completes its work (stays "git pu= sh" in the modeline). Once again, that works without any problems from the command line interface= ... So, to wrap it up: - with git.el, I can't commit - with magit.el, I can't push Any idea on how to solve the first (my favorite, for getting ediff) or both problems? My environment: - GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on LENNART-69DE= 564 (patched) - Windows XP SP3 - Cygwin 1.7.something - C:/cygwin/bin/git version 1.7.4 - Intel Core 2 Duo T5600 @ 1.83 GHz - 2 GB RAM - files on local C: disk (NTFS) Best regards, Seb --=20 S=C3=A9bastien Vauban