From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: VC / Git: amend function / mark for add / timing Date: Sun, 11 Oct 2009 19:30:28 -0500 Message-ID: <9B112266-8695-41CB-A8EA-8D39833060AE@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255315758 12169 80.91.229.12 (12 Oct 2009 02:49:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 02:49:18 +0000 (UTC) Cc: julliard@winehq.org, spiegel@gnu.org To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 12 04:49:07 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 1MxAyA-0000zt-Bh for ged-emacs-devel@m.gmane.org; Mon, 12 Oct 2009 04:49:06 +0200 Original-Received: from localhost ([127.0.0.1]:51547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxAy9-0002Bb-Ki for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2009 22:49:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxAy5-0002At-Bu for emacs-devel@gnu.org; Sun, 11 Oct 2009 22:49:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxAy0-000267-2y for emacs-devel@gnu.org; Sun, 11 Oct 2009 22:49:00 -0400 Original-Received: from [199.232.76.173] (port=44693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxAxz-000263-Tx for emacs-devel@gnu.org; Sun, 11 Oct 2009 22:48:55 -0400 Original-Received: from mail-yw0-f177.google.com ([209.85.211.177]:50744) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxAxy-0007O7-0F; Sun, 11 Oct 2009 22:48:54 -0400 Original-Received: by ywh7 with SMTP id 7so7257858ywh.24 for ; Sun, 11 Oct 2009 19:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:cc:to :mime-version:x-mailer; bh=SfEYSibJWINqFfuFlloa9g8nao0N4f3Xe2xSsEg0ISA=; b=ePTx1u4249wK8HcKziMfVAz4uRLUnjsszoxn42WHxGtHJsz8texrXfGWfTmezUQlx/ b+3JNx+aNN0Gaslw+a1CAhVd75XH9vbFPixiBimhOmjWafOScW7ypaLV4SSSGFBeidBu q4Tx2rXr+/NlwLEFpc4mJvZwp2fDLw8/269EQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version:x-mailer; b=QNa+/h0SOs98osIzOT6gSIhHKXsvqY5iMbMd/t0+1mGKuVQCCHWoYAds4vn42ZD9qR ICGaC9n5Zz1H5j12PuiMN0W+gdleX9otfeT2IC/0f1eiQ1MHaKkr5HNcwJTRJ3aZXW1r 13N4BgA3odOcxdF2YyYjbInw0vLc/AsSfrqnM= Original-Received: by 10.91.19.15 with SMTP id w15mr3299697agi.12.1255315732156; Sun, 11 Oct 2009 19:48:52 -0700 (PDT) Original-Received: from ?172.16.0.65? (rrcs-71-42-240-34.sw.biz.rr.com [71.42.240.34]) by mx.google.com with ESMTPS id 21sm2006232yxe.1.2009.10.11.19.48.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 19:48:50 -0700 (PDT) X-Mailer: Apple Mail (2.1076) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:116093 Archived-At: 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? Finally, it takes several seconds when I open a file that's under git version control. What can we do about this? I think I complained about it at some point, and we didn't find a solution. I'd rather have VC functions blocked until the file status is obtained (asynchronically) rather than having to wait before I can do any viewing/editing on the file. (But this particular solution would require a number of changes.) Many thanks for improving vc-git!