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: 8afc08a7a8
Close: #8342
Co-authored-by: panchoh <panchoh@users.noreply.github.com>
This commit is contained in:
Henrik Lissner
2025-04-05 15:21:17 -04:00
parent 5020d592da
commit 26b97766e6

View File

@ -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