1

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.

PRouleau
  • 744
  • 3
  • 10

1 Answers1

2

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).

phils
  • 48,657
  • 3
  • 76
  • 115