zsh-users
 help / color / mirror / code / Atom feed
* Can vcs_info provide list of unstaged, changed files?
@ 2016-06-10 14:14 Sebastian Gniazdowski
  2016-06-20  3:51 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Gniazdowski @ 2016-06-10 14:14 UTC (permalink / raw)
  To: Zsh Users

Hello,
is there a hook that can be added to vcs_info that would copy
hopefully already existing information: list of files that are changed
(unstaged)? I would like to run zstat on the files and discover which
are oldest and how old are they.

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can vcs_info provide list of unstaged, changed files?
  2016-06-10 14:14 Can vcs_info provide list of unstaged, changed files? Sebastian Gniazdowski
@ 2016-06-20  3:51 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2016-06-20  3:51 UTC (permalink / raw)
  To: Zsh Users

On Jun 10,  4:14pm, Sebastian Gniazdowski wrote:
}
} is there a hook that can be added to vcs_info that would copy
} hopefully already existing information: list of files that are changed

As far as I can tell, (a) only the "git" backend supports any related
functionality, (b) even that backend only reports whether there is
at least one changed file, not the names of any of them, and (c) it
is not cached, it's recalculated at every prompt.

So the answer appears to be "no."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-20  3:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 14:14 Can vcs_info provide list of unstaged, changed files? Sebastian Gniazdowski
2016-06-20  3:51 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).