I'd like to see the what commands are issued by the child process used by the various VC commands. Is there a way to log them or collect them without modifying the VC code?

For example, I'd like to see what Git command(s) are issued when the C-x v ~ key is typed to execute the vc-revision-other-window command for a Git backend.


1 Answer 1


C-hv vc-post-command-functions will probably get you the majority of them, but not necessarily all of them.

For instance, I note that vc-git.el uses its own internal vc-git--call for a handful of things (where presumably there was some problem with going via the standard channel).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.