diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-02-14 12:33:34 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-02-14 14:59:04 +0100 |
commit | ccecc87d5880a322fa6f25cfe3697af7797bfadd (patch) | |
tree | 3d783a586231906750a7778687612ad9ed65c5ee /lisp/vc | |
parent | 077c9badf9322845a8d2911e48392fa8f4c5939c (diff) | |
download | emacs-ccecc87d5880a322fa6f25cfe3697af7797bfadd.tar.gz emacs-ccecc87d5880a322fa6f25cfe3697af7797bfadd.tar.bz2 emacs-ccecc87d5880a322fa6f25cfe3697af7797bfadd.zip |
Implement vc-clone for git
* vc-git.el (vc-git-clone): Add Git implementation
Diffstat (limited to 'lisp/vc')
-rw-r--r-- | lisp/vc/vc-git.el | 3 |
1 files changed, 3 insertions, 0 deletions
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") |