From: Philip Kaludercic Date: Mon, 14 Feb 2022 11:33:34 +0000 (+0100) Subject: Implement vc-clone for git X-Git-Tag: emacs-29.0.90~1616^2~307^2~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ccecc87d5880a322fa6f25cfe3697af7797bfadd;p=emacs.git Implement vc-clone for git * vc-git.el (vc-git-clone): Add Git implementation --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index ad39dc604a9..adf13406333 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1136,6 +1136,9 @@ This prompts for a branch to merge from." (add-hook 'after-save-hook #'vc-git-resolve-when-done nil 'local)) (vc-message-unresolved-conflicts buffer-file-name))) +(defun vc-git-clone (remote directory) + (vc-git--out-ok "clone" remote directory)) + ;;; HISTORY FUNCTIONS (autoload 'vc-setup-buffer "vc-dispatcher")