From 6b03f4dc4f29338351b6131d295fa83205a2e701 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 21 Jan 2024 07:56:51 +0100 Subject: [PATCH] rc tools git: remove redundant try These commands must never fail. --- rc/tools/git.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/tools/git.kak b/rc/tools/git.kak index 798fd97d..9f8d5664 100644 --- a/rc/tools/git.kak +++ b/rc/tools/git.kak @@ -365,10 +365,10 @@ define-command -params 1.. \ run_git_blame "$@" ;; hide-blame) - printf %s "try %{ + printf %s " set-option buffer=$kak_bufname git_blame_flags $kak_timestamp remove-highlighter window/git-blame - }" + " ;; show-diff) echo 'try %{ add-highlighter window/git-diff flag-lines Default git_diff_flags }'