Function: magit-sparse-checkout-enable
magit-sparse-checkout-enable is an autoloaded, interactive and
byte-compiled function defined in magit-sparse-checkout.el.
Signature
(magit-sparse-checkout-enable &optional ARGS)
Documentation
Convert the working tree to a sparse checkout.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sparse-checkout.el
;;;###autoload
(defun magit-sparse-checkout-enable (&optional args)
"Convert the working tree to a sparse checkout."
(interactive (list (transient-args 'magit-sparse-checkout)))
(magit-run-git-async "sparse-checkout" "init" "--cone" args))