mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-22 13:28:32 +03:00
Fix "git blame" inside "git blame-jump" diff buffers
I used to use a patch that removes cd_bufdir so I didn't notice this being broken for *git* buffers.
This commit is contained in:
parent
54992c08ae
commit
b0e21a150e
@ -296,7 +296,9 @@ define-command -params 1.. \
|
||||
echo 'echo -markup {Information}Press <ret> to jump to blamed commit'
|
||||
(
|
||||
trap - INT QUIT
|
||||
if [ -z "${kak_opt_git_blob}" ]; then
|
||||
cd_bufdir
|
||||
fi
|
||||
printf %s "evaluate-commands -client '$kak_client' %{
|
||||
set-option buffer=$kak_bufname git_blame_flags '$kak_timestamp'
|
||||
set-option buffer=$kak_bufname git_blame_index '$kak_timestamp'
|
||||
|
Loading…
Reference in New Issue
Block a user