Skip to content

Commit f8b5c6e

Browse files
committed
Call erase-buffer too, to avoid parsing the output twice
1 parent cb049a2 commit f8b5c6e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

diff-hl-dired.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ Call UPDATE-FUNCTION as entries are added."
190190
:update-function update-function)))
191191
((eq backend 'Hg)
192192
(let ((default-directory dir))
193+
(erase-buffer)
193194
(apply #'vc-hg-command (current-buffer) 'async files
194195
"status" "-i"
195196
(if (version<= "4.2" (vc-hg--program-version))

0 commit comments

Comments
 (0)