unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Emacs development discussions <emacs-devel@gnu.org>
Cc: julliard@winehq.org, spiegel@gnu.org
Subject: VC / Git: amend function / mark for add / timing
Date: Sun, 11 Oct 2009 19:30:28 -0500	[thread overview]
Message-ID: <9B112266-8695-41CB-A8EA-8D39833060AE@gmail.com> (raw)

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!






             reply	other threads:[~2009-10-12  0:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12  0:30 David Reitter [this message]
2009-10-12  6:55 ` VC / Git: amend function / mark for add / timing David Kastrup
2009-10-13 17:28 ` Dan Nicolaescu
2009-10-13 22:34   ` Juri Linkov
2009-10-13 19:33 ` Stefan Monnier
2009-10-13 20:37   ` Alexandre Julliard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9B112266-8695-41CB-A8EA-8D39833060AE@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=julliard@winehq.org \
    --cc=spiegel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).