fix git blame support in git-tools.kak
This commit is contained in:
parent
7f4d906774
commit
69113f30d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user