all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the list of modified files in VC?
Date: Tue, 25 Jul 2017 17:26:50 +0300	[thread overview]
Message-ID: <838tjc7fth.fsf@gnu.org> (raw)
In-Reply-To: <87k22xw071.fsf@jane> (message from Marcin Borkowski on Tue, 25 Jul 2017 07:32:50 +0200)

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Tue, 25 Jul 2017 07:32:50 +0200
> 
> I'm writing some code on top of VC.  I'd need to get the list of
> modified files in the current repository.  How do I do that (other than
> firing git as an external process)?

I suggest to look at what vc-dir-refresh does, I'm sure some variant
of that is what you want.  The back-end call 'dir-status-files' is the
backbone of this.




  reply	other threads:[~2017-07-25 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25  5:32 How to get the list of modified files in VC? Marcin Borkowski
2017-07-25 14:26 ` Eli Zaretskii [this message]
2017-07-26 18:51   ` Marcin Borkowski
     [not found] ` <CAKX+4G9FDhQOBuMJCnVoFGeVyX6eWOi_u1HuaPvaQLDzVUwEzw@mail.gmail.com>
2017-07-25 17:19   ` Marcin Borkowski

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=838tjc7fth.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.