From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: VC / Git: amend function / mark for add / timing Date: Mon, 12 Oct 2009 08:55:11 +0200 Organization: Organization?!? Message-ID: <87ws315cfk.fsf@lola.goethe.zz> References: <9B112266-8695-41CB-A8EA-8D39833060AE@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255330567 8644 80.91.229.12 (12 Oct 2009 06:56:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 06:56:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 12 08:55:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxEp3-0000j3-4n for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2009 08:55:57 +0200 Original-Received: from localhost ([127.0.0.1]:36650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxEp2-0002bA-Az for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2009 02:55:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxEov-0002ah-PI for emacs-devel@gnu.org; Mon, 12 Oct 2009 02:55:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxEoq-0002Z5-Mb for emacs-devel@gnu.org; Mon, 12 Oct 2009 02:55:48 -0400 Original-Received: from [199.232.76.173] (port=43215 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxEoq-0002Z1-HN for emacs-devel@gnu.org; Mon, 12 Oct 2009 02:55:44 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50306) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxEop-0000ZR-Ne for emacs-devel@gnu.org; Mon, 12 Oct 2009 02:55:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MxEoi-0000YJ-Ed for emacs-devel@gnu.org; Mon, 12 Oct 2009 08:55:36 +0200 Original-Received: from p5b2c2770.dip.t-dialin.net ([91.44.39.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Oct 2009 08:55:36 +0200 Original-Received: from dak by p5b2c2770.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Oct 2009 08:55:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p5b2c2770.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:t5jSv0Wf/MfUViLRJ+iu9B53ktE= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116096 Archived-At: David Reitter writes: > It would be nice if VC provided a function to add the "--amend" > argument to "git commit" so that the last commit is amended. This is > useful when one forgets to check in file, especially after using C-x v > v to commit a single file. The logical binding I thought of at first > was C-u C-x v v, but that seems to do something else. > > Also, it's not obvious at all from the menu how to mark the file in > the current buffer for addition, i.e. do a "git add". Is this > possible at all? I don't think so unless you are using git.el. My preferred candidate for this would be C-x v i (since it basically does a git add for an unregistered file, it could do the same for a registered file). -- David Kastrup