all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32754: vc-retrieve-tag-hook
@ 2018-09-17 19:49 Charles A. Roelli
       [not found] ` <handler.32754.B.153721366722844.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Charles A. Roelli @ 2018-09-17 19:49 UTC (permalink / raw)
  To: 32754

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





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

end of thread, other threads:[~2018-10-08 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-17 19:49 bug#32754: vc-retrieve-tag-hook Charles A. Roelli
     [not found] ` <handler.32754.B.153721366722844.ack@debbugs.gnu.org>
2018-10-01 18:25   ` bug#32754: (vc-retrieve-tag-hook) Charles A. Roelli
2018-10-08 19:55     ` Charles A. Roelli

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.