[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get a list of changed files with VC?

From: Dmitry Gutov
Subject: Re: How to get a list of changed files with VC?
Date: Sun, 16 Jul 2017 20:12:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0

On 7/15/17 8:52 PM, Eli Zaretskii wrote:

Maybe we should extend dir-status-files to accept a version, or even a
range of versions.

I have no concrete opinion on this, except that the result might be pushing it, complexity-wise. Let's maybe wait until we see more requests for exactly this functionality.

Maybe calling the VC backend diff command on the whole repo and
parsing the output could work.

I think Git is the odd one out providing this information as a
side-effect of a diff command (with a option that makes little sense
for a diff command).  All the other back-ends I know of provide the
info as part of the status command.  I think.

Not sure which information you mean. I only suggested diff because one call pass a reference revision to it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]