From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: Jakub Narebski Subject: Re: [PATCH 0/2] Making "git commit" to mean "git commit -a". Date: Thu, 30 Nov 2006 14:16:04 +0100 Organization: At home Message-ID: References: <7vmz6cfsuw.fsf@assigned-by-dhcp.cox.net> <87bqmswm1e.wl%cworth@cworth.org> <7vodqse90q.fsf@assigned-by-dhcp.cox.net> <87ac2cwha4.wl%cworth@cworth.org> <7vy7pwcsgp.fsf@assigned-by-dhcp.cox.net> <878xhwwdyj.wl%cworth@cworth.org> <7vk61gcnzl.fsf@assigned-by-dhcp.cox.net> <7vd5786opj.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Date: Thu, 30 Nov 2006 13:15:13 +0000 (UTC) Return-path: Envelope-to: gcvg-git@gmane.org X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-81-190-24-209.torun.mm.pl Mail-Copies-To: jnareb@gmail.com User-Agent: KNode/0.10.2 Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gplki-0007jC-K4 for gcvg-git@gmane.org; Thu, 30 Nov 2006 14:15:01 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967359AbWK3NO5 (ORCPT ); Thu, 30 Nov 2006 08:14:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967259AbWK3NO5 (ORCPT ); Thu, 30 Nov 2006 08:14:57 -0500 Received: from main.gmane.org ([80.91.229.2]:44971 "EHLO ciao.gmane.org") by vger.kernel.org with ESMTP id S967359AbWK3NOz (ORCPT ); Thu, 30 Nov 2006 08:14:55 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GplkI-0007eY-D6 for git@vger.kernel.org; Thu, 30 Nov 2006 14:14:34 +0100 Received: from host-81-190-24-209.torun.mm.pl ([81.190.24.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 14:14:34 +0100 Received: from jnareb by host-81-190-24-209.torun.mm.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Nov 2006 14:14:34 +0100 To: git@vger.kernel.org Sender: git-owner@vger.kernel.org Salikh Zakirov wrote: > Someone said, that default '-a' does not go well with 'git-commit --amend', > and I second that. It was somewhat suprising to see that 'git commit --amend' > is going to include all of the dirty state into the commit, > and since there is no easy way to abort a --amend commit (because the comment > buffer wasn't empty, and :q! does not work as it would on the regular commit), > I had to untwine the changes manually. By the way, I think that git-commit should also watch the return code from the editor, so you can ^C it to abort git-commit --amend. -- Jakub Narebski Warsaw, Poland ShadeHawk on #git