From 32951f067bdd6f1c1161428c68b81472cc540b8d Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 11 Aug 2014 04:04:52 +0400 Subject: [PATCH] Add link to an issue --- diff-hl.el | 1 + 1 file changed, 1 insertion(+) diff --git a/diff-hl.el b/diff-hl.el index c116a6e5b..4e73bb72a 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) -- 2.39.2