From: Dmitry Gutov <dgutov@yandex.ru>
To: 19343@debbugs.gnu.org
Subject: bug#19343: 25.0.50; [vc-git] Unregistered file becomes `up-to-date' in vc-dir buffer after editing and saving
Date: Thu, 11 Dec 2014 00:15:35 +0200 [thread overview]
Message-ID: <86oarbqhh4.fsf@yandex.ru> (raw)
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
next reply other threads:[~2014-12-10 22:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 22:15 Dmitry Gutov [this message]
2014-12-15 12:01 ` 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-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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86oarbqhh4.fsf@yandex.ru \
--to=dgutov@yandex.ru \
--cc=19343@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.