branch: elpa/magit
commit 2d1ef4435ba41ee73f136700c07b00abf870bf36
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-find-file-noselect: Fix typo
---
lisp/magit-files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-files.el b/lisp/magit-files.el
index 53c10ff8f4c..157da805dbf 100644
--- a/lisp/magit-files.el
+++ b/lisp/magit-files.el
@@ -94,7 +94,7 @@ the line and column corresponding to that location."
"Read FILE from REV into a buffer and return the buffer.
REV is a revision or one of \"{worktree}\" or \"{index}\"."
(when (and (equal rev "{index}")
- (length> (magit--file-index-stages file) t))
+ (length> (magit--file-index-stages file) 1))
(setq rev "{worktree}"))
(cond-let*
[[topdir (magit-toplevel)]