rc tools git: remove redundant try

These commands must never fail.
This commit is contained in:
Johannes Altmanninger 2024-01-21 07:56:51 +01:00
parent b0119b0696
commit 6b03f4dc4f

View File

@ -365,10 +365,10 @@ define-command -params 1.. \
run_git_blame "$@" run_git_blame "$@"
;; ;;
hide-blame) hide-blame)
printf %s "try %{ printf %s "
set-option buffer=$kak_bufname git_blame_flags $kak_timestamp set-option buffer=$kak_bufname git_blame_flags $kak_timestamp
remove-highlighter window/git-blame remove-highlighter window/git-blame
}" "
;; ;;
show-diff) show-diff)
echo 'try %{ add-highlighter window/git-diff flag-lines Default git_diff_flags }' echo 'try %{ add-highlighter window/git-diff flag-lines Default git_diff_flags }'