Skip to content

Commit

Permalink
Make interactive form return a list for magit-init.
Browse files Browse the repository at this point in the history
  • Loading branch information
treese committed Apr 2, 2014
1 parent 79dc372 commit 1a5c858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magit.el
Expand Up @@ -7407,7 +7407,7 @@ Non-interactively DIRECTORY is always (re-)initialized."
(format "%s is a repository. Create another in %s? "
top dir)))))
(user-error "Abort")
dir)))
(list dir))))
(magit-run-git "init" (expand-file-name directory)))

(defun magit-copy-item-as-kill ()
Expand Down

0 comments on commit 1a5c858

Please sign in to comment.