diff options
| author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-10-19 12:13:55 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-10-19 12:15:03 +0100 |
| commit | 64341b02d24144b519a3f06362f0a7e839ef7189 (patch) | |
| tree | 88063b054f05d0d2c13c891ef520b7cafa8ff31b /lisp/magit-clone.el | |
| parent | 08449840608ab20c0361caf2174628fd188dba5a (diff) | |
magit-clone-internal: Fix user-error arguments
Diffstat (limited to 'lisp/magit-clone.el')
| -rw-r--r-- | lisp/magit-clone.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-clone.el b/lisp/magit-clone.el index 3dd4b48..2417e54 100644 --- a/lisp/magit-clone.el +++ b/lisp/magit-clone.el @@ -208,8 +208,8 @@ Then show the status buffer for the new repository." (setq directory (file-name-as-directory (expand-file-name name directory))) (not (file-exists-p directory))) - (user-error "%s already exits")))) - (user-error "%s already exists and is not a directory"))) + (user-error "%s already exists" directory)))) + (user-error "%s already exists and is not a directory" directory))) (magit-run-git-async "clone" args "--" repository (magit-convert-filename-for-git directory)) ;; Don't refresh the buffer we're calling from. |
