From 69113f30d13e4af291de48bcbb4794bac63ce3d9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 18 Nov 2013 01:37:03 +0000 Subject: [PATCH] fix git blame support in git-tools.kak --- src/rc/git-tools.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc/git-tools.kak b/src/rc/git-tools.kak index 3cc005a4..d2031e6c 100644 --- a/src/rc/git-tools.kak +++ b/src/rc/git-tools.kak @@ -51,7 +51,7 @@ def -shell-params git %{ %sh{ for (( i=1; $i < $count; i++ )); do flag="$flag:$(($line+$i))|black|$text" done - echo "set buffer -add buffer=$kak_bufname git_blame_flags %{${flag}}" | socat -u stdin UNIX-CONNECT:/tmp/kak-${kak_session} + echo "set -add buffer=$kak_bufname git_blame_flags %{${flag}}" | socat -u stdin UNIX-CONNECT:/tmp/kak-${kak_session} } git blame --incremental $kak_bufname | ( while read blame_line; do if [[ $blame_line =~ ([0-9a-f]{40}).([0-9]+).([0-9]+).([0-9]+) ]]; then