Variable: magit-post-clone-hook

magit-post-clone-hook is a customizable variable defined in magit-clone.el.

Value

nil

Documentation

Hook run after the repository has been successfully cloned.

When the hook is called, default-directory is let-bound to the directory where the repository has been cloned.

This variable was added, or its default value changed, in magit version 4.0.0.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-clone.el
(defcustom magit-post-clone-hook nil
  "Hook run after the repository has been successfully cloned.

When the hook is called, `default-directory' is let-bound to the
directory where the repository has been cloned."
  :package-version '(magit . "4.0.0")
  :group 'magit-commands
  :type 'hook)