Function: magit-clone-shallow-since

magit-clone-shallow-since is an interactive and natively compiled function defined in magit-clone.el.

Signature

(magit-clone-shallow-since REPOSITORY DIRECTORY ARGS DATE)

Documentation

Create a shallow clone of REPOSITORY in DIRECTORY.

Then show the status buffer for the new repository. Exclude commits before DATE, which is read from the user.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-clone.el
;;;###autoload
(defun magit-clone-shallow-since (repository directory args date)
  "Create a shallow clone of REPOSITORY in DIRECTORY.
Then show the status buffer for the new repository.
Exclude commits before DATE, which is read from the
user."
  (interactive (append (magit-clone-read-args)
                       (list (transient-read-date "Exclude commits before: "
                                                  nil nil))))
  (magit-clone-internal repository directory
                        (cons (format "--shallow-since=%s" date) args)))