branch: master commit 32951f067bdd6f1c1161428c68b81472cc540b8d Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Add link to an issue --- diff-hl.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/diff-hl.el b/diff-hl.el index c116a6e..4e73bb7 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -440,6 +440,7 @@ in the source file, or the last line of the hunk above it." ;; Magit does call `auto-revert-handler', but it usually ;; doesn't do much, because `buffer-stale--default-function' ;; doesn't care about changed VC state. + ;; https://github.com/magit/magit/issues/603 (add-hook 'magit-revert-buffer-hook 'diff-hl-update nil t) (add-hook 'text-scale-mode-hook 'diff-hl-define-bitmaps nil t)) (remove-hook 'after-save-hook 'diff-hl-update t)