[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl ccbc75e 2/2: diff-hl-unstage-file: Call diff-hl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl ccbc75e 2/2: diff-hl-unstage-file: Call diff-hl-update at the end |
Date: |
Thu, 4 Nov 2021 21:57:21 -0400 (EDT) |
branch: externals/diff-hl
commit ccbc75e6ee3e37093f9fb17c4ec686efb2e22ad9
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
diff-hl-unstage-file: Call diff-hl-update at the end
---
diff-hl.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/diff-hl.el b/diff-hl.el
index e1d6e42..9c43584 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -747,7 +747,9 @@ Only supported with Git."
(user-error "No current file"))
(diff-hl--ensure-staging-supported)
(vc-git-command nil 0 buffer-file-name "reset")
- (message "Unstaged all"))
+ (message "Unstaged all")
+ (unless diff-hl-show-staged-changes
+ (diff-hl-update)))
(defvar diff-hl-command-map
(let ((map (make-sparse-keymap)))