From 220458839d609fa23671851672c55dfa6afc5fac Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 4 Jul 2018 19:42:03 +1000 Subject: [PATCH] Fix git-tools.kak use of $@ --- rc/extra/git-tools.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/extra/git-tools.kak b/rc/extra/git-tools.kak index e7a6d819..166e8044 100644 --- a/rc/extra/git-tools.kak +++ b/rc/extra/git-tools.kak @@ -167,7 +167,7 @@ Available commands:\n add\n rm\n blame\n commit\n checkout\n diff\n hide- msgfile="$(git rev-parse --git-dir)/COMMIT_EDITMSG" printf %s "edit '$msgfile' hook buffer BufWritePost '.*\Q$msgfile\E' %{ %sh{ - if git commit -F '$msgfile' --cleanup=strip $@ > /dev/null; then + if git commit -F '$msgfile' --cleanup=strip $* > /dev/null; then printf %s 'evaluate-commands -client $kak_client echo -markup %{{Information}Commit succeeded}; delete-buffer' else printf %s 'evaluate-commands -client $kak_client echo -markup %{{Error}Commit failed}'