unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19343: 25.0.50; [vc-git] Unregistered file becomes `up-to-date' in vc-dir buffer after editing and saving
@ 2014-12-10 22:15 Dmitry Gutov
  2014-12-15 12:01 ` Dmitry Gutov
  0 siblings, 1 reply; 13+ messages in thread
From: Dmitry Gutov @ 2014-12-10 22:15 UTC (permalink / raw)
  To: 19343

1. Open vc-dir for the repository with an unregistered file.

2. Open the file in Emacs, modify, save.

3. See it become `up-to-date' in the vc-dir buffer.

4. Switch to vc-dir, press `g'. See it become `unregistered' again.

Apparently, in part it's a result of how bug#11757 was resolved (see the
comment at the top of `vc-git-state'), but I don't remember seeing this
problem before Emacs 25. Yet I don't see anything specific among the
recent changes that caused it.

Maybe `vc-git-state' should call `git status --short' instead of `git
diff-index'.

In GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2014-12-10 on axl
Repository revision: bdc373bf456de464b44836b11826705c0aef70b1
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.1 LTS





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

end of thread, other threads:[~2017-05-01 19:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 22:15 bug#19343: 25.0.50; [vc-git] Unregistered file becomes `up-to-date' in vc-dir buffer after editing and saving Dmitry Gutov
2014-12-15 12:01 ` Dmitry Gutov
2014-12-17  4:28   ` Dmitry Gutov
2014-12-17 13:19     ` Dmitry Gutov
2014-12-17 15:40       ` Eli Zaretskii
2014-12-17 17:11         ` Dmitry Gutov
2014-12-17 18:15           ` Eli Zaretskii
2017-05-01  1:36         ` Dmitry Gutov
2017-05-01  7:10           ` Eli Zaretskii
2017-05-01 15:00             ` Dmitry Gutov
2017-05-01 15:14               ` Eli Zaretskii
2017-05-01 16:55                 ` Dmitry Gutov
2017-05-01 19:09                   ` Eli Zaretskii

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