mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
git-tools.kak: Fix leaking of pipe file descriptors in git-blame support
This commit is contained in:
parent
a9b1c8f2d7
commit
119d2e89e0
@ -90,6 +90,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide-
|
|||||||
/^author-time ([0-9]*)/ {
|
/^author-time ([0-9]*)/ {
|
||||||
cmd = "date -d @" $2 " +\"%F %T\""
|
cmd = "date -d @" $2 " +\"%F %T\""
|
||||||
cmd | getline dates[sha]
|
cmd | getline dates[sha]
|
||||||
|
close(cmd)
|
||||||
}
|
}
|
||||||
END { send_flags(); }'
|
END { send_flags(); }'
|
||||||
) > /dev/null 2>&1 < /dev/null &
|
) > /dev/null 2>&1 < /dev/null &
|
||||||
|
Loading…
Reference in New Issue
Block a user