fix magit update
This commit is contained in:
@@ -952,9 +952,9 @@ and `:slant'."
|
||||
:reader 'magit-read-files
|
||||
:multi-value t)
|
||||
|
||||
(defun magit-read-files (prompt initial-input history)
|
||||
(defun magit-read-files (prompt initial-input history &optional list-fn)
|
||||
(magit-completing-read-multiple* prompt
|
||||
(magit-list-files)
|
||||
(funcall (or list-fn #'magit-list-files))
|
||||
nil nil
|
||||
(or initial-input (magit-file-at-point))
|
||||
history))
|
||||
@@ -2058,7 +2058,7 @@ Staging and applying changes is documented in info node
|
||||
(when (and (not (equal cmd "merge-tree"))
|
||||
(pcase (magit-repository-local-get 'diff-ita-kludge-p 'unset)
|
||||
(`unset
|
||||
(let ((val (version<= "2.19.0" (magit-git-version))))
|
||||
(let ((val (magit-git-version>= "2.19.0")))
|
||||
(magit-repository-local-set 'diff-ita-kludge-p val)
|
||||
val))
|
||||
(val val)))
|
||||
|
||||
Reference in New Issue
Block a user