unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-x v u for added files in vc-git
@ 2009-12-03  6:06 Dan Nicolaescu
  2009-12-03  8:02 ` mathias
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Nicolaescu @ 2009-12-03  6:06 UTC (permalink / raw)
  To: emacs-devel

In a git tree doing:

C-x C-f BLAH_BLAH RET
RET
C-x v v

will put the BLAH_BLAH in the 'added state

Doing a C-x v u
after that should return it to the 'unregistered state, but that does
not happen the file stays in the 'added state.

This is because vc-git-revert runs:
(vc-git-command nil 0 file "checkout" "HEAD")

What should vc-git-revert do that it works in the above case too?




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-12-04 18:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03  6:06 C-x v u for added files in vc-git Dan Nicolaescu
2009-12-03  8:02 ` mathias
2009-12-03  9:09   ` Dan Nicolaescu
2009-12-03 12:15     ` mathias
2009-12-03 18:22       ` Dan Nicolaescu
2009-12-04  3:39         ` Miles Bader
2009-12-04  4:49           ` Dan Nicolaescu
2009-12-04  5:24             ` Miles Bader
2009-12-04  5:44               ` Dan Nicolaescu
2009-12-04  7:58                 ` Miles Bader
2009-12-04 18:55                   ` Dan Nicolaescu

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).