projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
077c9ba
)
Implement vc-clone for git
author
Philip Kaludercic
<philipk@posteo.net>
Mon, 14 Feb 2022 11:33:34 +0000
(12:33 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Mon, 14 Feb 2022 13:59:04 +0000
(14:59 +0100)
* vc-git.el (vc-git-clone): Add Git implementation
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index ad39dc604a9e9b0b7783418061a0f81cc8d3fb0f..adf134063334732843edd3fd47f597dd8130842b 100644
(file)
--- 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")