[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-dir mode: marking modified files after pull
From: |
Sam Steingold |
Subject: |
vc-dir mode: marking modified files after pull |
Date: |
Fri, 31 Oct 2014 14:23:40 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) |
Hi,
ISTR that when I updated in CVS, the files which were modified by the
update were marked as such in the vc-dir buffer.
Is there a way to do that with git and hg?
With git the answer seems to be
$ git diff --name-status ORIG_HEAD..
(http://stackoverflow.com/questions/6535150/git-pull-change-log)
With hg it appears that the information has to be extracted before update:
$ hg status --rev .:tip
(http://stackoverflow.com/questions/3277334/what-files-will-be-changed-vs-added-when-i-do-an-hg-pull-and-hg-update)
So the information is available.
The question is, what has to be changed in vc-dir.el?
Thanks.
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1343
http://www.childpsy.net/ http://openvotingconsortium.org http://ffii.org
http://iris.org.il http://islamexposedonline.com http://jihadwatch.org
Save time: send elected officials to jail directly, bypassing the office.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- vc-dir mode: marking modified files after pull,
Sam Steingold <=