diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-19 07:43:13 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-06-19 07:43:13 +1000 |
| commit | 119d2e89e09f2289bc9d964081d376d26a576089 (patch) | |
| tree | abb50666e05b41d54e5212151538aa678713501b | |
| parent | a9b1c8f2d722b7819f5c45d0b4a3b9bbc136a054 (diff) | |
git-tools.kak: Fix leaking of pipe file descriptors in git-blame support
| -rw-r--r-- | rc/extra/git-tools.kak | 1 |
1 files changed, 1 insertions, 0 deletions
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 & |
