From: Markus Triska <markus.triska@gmx.at>
To: gnu-emacs-bug@moderators.isc.org
Subject: bug#2982: 23.0.92; `vc-diff' behaves inconsistently with git
Date: Sat, 18 Apr 2009 19:03:47 +0200 [thread overview]
Message-ID: <m2skk5opvw.fsf@gmx.at> (raw)
In-Reply-To: mailman.5259.1239647042.31690.bug-gnu-emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> So when you open the file, Emacs asks `git' the status of the file and
> so knows that this modtime corresponds to "up-to-date". After `touch',
> OTOH, Emacs isn't so sure any more, so it runs `git diff'
OK, external modtime changes may be harder to handle than an Emacs use
case: Say you resume working on a file with uncommitted changes, and you
first do vc-diff and decide to throw them away. Then in the *vc-diff*
buffer, you do C-u C-c C-a until all chunks are reverted, then save the
file and see if really all changes are gone with C-x v =. At this point
the *vc-diff* buffer is shown unexpectedly without remaining changes.
next prev parent reply other threads:[~2009-04-18 17:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-13 11:23 bug#2982: 23.0.92; `vc-diff' behaves inconsistently with git Markus Triska
2009-04-13 17:58 ` Stefan Monnier
[not found] ` <mailman.5259.1239647042.31690.bug-gnu-emacs@gnu.org>
2009-04-18 17:03 ` Markus Triska [this message]
2009-04-18 19:38 ` Stefan Monnier
2009-04-18 19:51 ` Markus Triska
2009-04-18 20:07 ` Stefan Monnier
2012-06-28 12:51 ` Dmitry Gutov
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=m2skk5opvw.fsf@gmx.at \
--to=markus.triska@gmx.at \
--cc=2982@emacsbugs.donarmstrong.com \
--cc=gnu-emacs-bug@moderators.isc.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).