Fix command to show git log of current buffer file

Currently <kbd>SPC g L</kbd> runs `magit-log` which opens a context
window for git log with an option selected that limits the log to the
file open in buffer. The user then has to press <kbd>l</kbd> to actually
see the log. The same result can be achieved by calling
`magit-log-buffer-file` instead
This commit is contained in:
George Thomas 2021-07-07 03:13:57 +05:30
parent 007268bc09
commit 74fc7ae664
No known key found for this signature in database
GPG key ID: A2F9815E085D444D
2 changed files with 2 additions and 2 deletions

View file

@ -325,7 +325,7 @@
:desc "Magit blame" "B" #'magit-blame-addition :desc "Magit blame" "B" #'magit-blame-addition
:desc "Magit clone" "C" #'magit-clone :desc "Magit clone" "C" #'magit-clone
:desc "Magit fetch" "F" #'magit-fetch :desc "Magit fetch" "F" #'magit-fetch
:desc "Magit buffer log" "L" #'magit-log :desc "Magit buffer log" "L" #'magit-log-buffer-file
:desc "Git stage file" "S" #'magit-stage-file :desc "Git stage file" "S" #'magit-stage-file
:desc "Git unstage file" "U" #'magit-unstage-file :desc "Git unstage file" "U" #'magit-unstage-file
(:prefix ("f" . "find") (:prefix ("f" . "find")

View file

@ -445,7 +445,7 @@
:desc "Magit blame" "B" #'magit-blame-addition :desc "Magit blame" "B" #'magit-blame-addition
:desc "Magit clone" "C" #'magit-clone :desc "Magit clone" "C" #'magit-clone
:desc "Magit fetch" "F" #'magit-fetch :desc "Magit fetch" "F" #'magit-fetch
:desc "Magit buffer log" "L" #'magit-log :desc "Magit buffer log" "L" #'magit-log-buffer-file
:desc "Git stage file" "S" #'magit-stage-file :desc "Git stage file" "S" #'magit-stage-file
:desc "Git unstage file" "U" #'magit-unstage-file :desc "Git unstage file" "U" #'magit-unstage-file
(:prefix ("f" . "find") (:prefix ("f" . "find")