From: Markus Triska <markus.triska@gmx.at>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: gnu-emacs-bug@moderators.isc.org, 2982@emacsbugs.donarmstrong.com
Subject: bug#2982: 23.0.92; `vc-diff' behaves inconsistently with git
Date: Sat, 18 Apr 2009 21:51:55 +0200 [thread overview]
Message-ID: <m2ocutoi3o.fsf@gmx.at> (raw)
In-Reply-To: <jwv7i1hkb39.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Sat, 18 Apr 2009 15:38:25 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> In the case of git, it would be easier to ask git the status
Exactly, after what you explained before, it seems to me that Emacs
should ask git for the status of the file right after saving as well,
and store the new modification time (you explained that it already does
it after opening). Of course, this does not solve the problem of
external modtime changes, but it seems that this is solvable as well:
Before running diff, Emacs could ask git whether the status has changed.
It seems that this would yield consistent behaviour of vc-diff
regardless of whether the file was just opened or saved in between.
next prev parent reply other threads:[~2009-04-18 19:51 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
2009-04-18 19:38 ` Stefan Monnier
2009-04-18 19:51 ` Markus Triska [this message]
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=m2ocutoi3o.fsf@gmx.at \
--to=markus.triska@gmx.at \
--cc=2982@emacsbugs.donarmstrong.com \
--cc=gnu-emacs-bug@moderators.isc.org \
--cc=monnier@iro.umontreal.ca \
/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).