We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9092cfc + 581c577 commit ca4391fCopy full SHA for ca4391f
1 file changed
diff-hl.el
@@ -1457,7 +1457,7 @@ The value of this variable is a mode line template as in
1457
(let* ((backend (vc-backend file)))
1458
(when backend
1459
(cond
1460
- ((member file modified-files)
+ ((member (file-relative-name file topdir) modified-files)
1461
(when (memq (vc-state file) unmodified-states)
1462
(vc-state-refresh file backend))
1463
(diff-hl-update))
0 commit comments