* magit.el (magit-read-top-dir): Also ask when top-dir can't be found.
This commit is contained in:
parent
7e251bb8ce
commit
659480b4e3
1 changed files with 1 additions and 1 deletions
2
magit.el
2
magit.el
|
@ -98,7 +98,7 @@
|
|||
|
||||
(defun magit-read-top-dir (prefix)
|
||||
(let ((dir (magit-get-top-dir default-directory)))
|
||||
(if prefix
|
||||
(if (or (not dir) prefix)
|
||||
(magit-get-top-dir (read-directory-name "Git repository: " dir))
|
||||
dir)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue