Permalink
Browse files

Merge commit 'c51637773758ea2c7754245ef614c2cccf0306c0' into rdparker…

…/topic/fix-magit-filename-symlinks
  • Loading branch information...
2 parents 8c5c842 + c516377 commit 3b1d46c880be722e4b45f626de2200f890148c79 @sigma sigma committed Aug 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 magit.el
View
@@ -5194,7 +5194,7 @@ the current git repository."
(let ((topdir (expand-file-name
(magit-get-top-dir (or (file-name-directory filename)
default-directory))))
- (file (expand-file-name filename)))
+ (file (file-truename filename)))
(when (and (not (string= topdir ""))
;; FILE must start with the git repository path
(zerop (string-match-p (concat "\\`" topdir) file)))

0 comments on commit 3b1d46c

Please sign in to comment.