bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32754: vc-retrieve-tag-hook


From: Charles A. Roelli
Subject: bug#32754: vc-retrieve-tag-hook
Date: Mon, 17 Sep 2018 21:49:44 +0200

We have this hook in vc.el:

;;;###autoload
(defcustom vc-checkout-hook nil
  "Normal hook (list of functions) run after checking out a file.
See `run-hooks'."
  :type 'hook
  :group 'vc
  :version "21.1")

It does not seem to run when you retrieve a tag or branch with C-x v r
with the vc-git backend, and correctly so (I think), as the docstring
mentions that it should only run after checking out a file, not a tag
or branch.  I suggest adding a hook to run at the end of
vc-retrieve-tag, named "vc-retrieve-tag-hook".





reply via email to

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