Skip to content

Commit

Permalink
[Git] Correct status update when files are deleted.
Browse files Browse the repository at this point in the history
Fixes #1064
  • Loading branch information
Alexander-Miller committed Sep 30, 2023
1 parent f4795c7 commit 42b9e48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/elisp/treemacs-core-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ being edited to trigger."
(treemacs-run-in-every-buffer
(treemacs-on-collapse ,path t)))
(when (treemacs--non-simple-git-mode-enabled)
(treemacs-update-single-file-git-state (treemacs--parent-dir ,path)))))))
(treemacs-run-in-every-buffer
(treemacs-update-single-file-git-state (treemacs--parent-dir ,path))))))))

(define-inline treemacs--refresh-dir (path &optional project)
"Local refresh for button at PATH and PROJECT.
Expand Down

0 comments on commit 42b9e48

Please sign in to comment.