From 26b97766e670ac7aac45622c96355db9d2ca40b9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 5 Apr 2025 15:21:17 -0400 Subject: [PATCH] fix(default): replace deprecated magit staging commands magit-{stage,unstage}-buffer-file were deprecated in Magit 4.3.2 for magit-file-{stage,unstage}. Amend: 8afc08a7a8b6 Close: #8342 Co-authored-by: panchoh --- modules/config/default/+evil-bindings.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index 584f48b69..f36aa7615 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -528,8 +528,8 @@ :desc "Magit clone" "C" #'magit-clone :desc "Magit fetch" "F" #'magit-fetch :desc "Magit buffer log" "L" #'magit-log-buffer-file - :desc "Git stage this file" "S" #'magit-stage-buffer-file - :desc "Git unstage this file" "U" #'magit-unstage-buffer-file + :desc "Git stage this file" "S" #'magit-file-stage + :desc "Git unstage this file" "U" #'magit-file-unstage (:prefix ("f" . "find") :desc "Find file" "f" #'magit-find-file :desc "Find gitconfig file" "g" #'magit-find-git-config-file