From 119d2e89e09f2289bc9d964081d376d26a576089 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 19 Jun 2018 07:43:13 +1000 Subject: [PATCH] git-tools.kak: Fix leaking of pipe file descriptors in git-blame support --- rc/extra/git-tools.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/extra/git-tools.kak b/rc/extra/git-tools.kak index e73b0f11..938e5a58 100644 --- a/rc/extra/git-tools.kak +++ b/rc/extra/git-tools.kak @@ -90,6 +90,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide- /^author-time ([0-9]*)/ { cmd = "date -d @" $2 " +\"%F %T\"" cmd | getline dates[sha] + close(cmd) } END { send_flags(); }' ) > /dev/null 2>&1 < /dev/null &