Skip to content

Commit ca4391f

Browse files
authored
Merge pull request #280 from danielfleischer/patch-1
Fix: diff-hl-magit-post-refresh wrong file name
2 parents 9092cfc + 581c577 commit ca4391f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diff-hl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ The value of this variable is a mode line template as in
14571457
(let* ((backend (vc-backend file)))
14581458
(when backend
14591459
(cond
1460-
((member file modified-files)
1460+
((member (file-relative-name file topdir) modified-files)
14611461
(when (memq (vc-state file) unmodified-states)
14621462
(vc-state-refresh file backend))
14631463
(diff-hl-update))

0 commit comments

Comments
 (0)