diff options
| author | Philip Kaludercic | 2022-02-14 12:33:34 +0100 |
|---|---|---|
| committer | Philip Kaludercic | 2022-02-14 14:59:04 +0100 |
| commit | ccecc87d5880a322fa6f25cfe3697af7797bfadd (patch) | |
| tree | 3d783a586231906750a7778687612ad9ed65c5ee | |
| parent | 077c9badf9322845a8d2911e48392fa8f4c5939c (diff) | |
| download | emacs-ccecc87d5880a322fa6f25cfe3697af7797bfadd.tar.gz emacs-ccecc87d5880a322fa6f25cfe3697af7797bfadd.zip | |
Implement vc-clone for git
* vc-git.el (vc-git-clone): Add Git implementation
| -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." | |||
| 1136 | (add-hook 'after-save-hook #'vc-git-resolve-when-done nil 'local)) | 1136 | (add-hook 'after-save-hook #'vc-git-resolve-when-done nil 'local)) |
| 1137 | (vc-message-unresolved-conflicts buffer-file-name))) | 1137 | (vc-message-unresolved-conflicts buffer-file-name))) |
| 1138 | 1138 | ||
| 1139 | (defun vc-git-clone (remote directory) | ||
| 1140 | (vc-git--out-ok "clone" remote directory)) | ||
| 1141 | |||
| 1139 | ;;; HISTORY FUNCTIONS | 1142 | ;;; HISTORY FUNCTIONS |
| 1140 | 1143 | ||
| 1141 | (autoload 'vc-setup-buffer "vc-dispatcher") | 1144 | (autoload 'vc-setup-buffer "vc-dispatcher") |