From 5a96c95f69b27287ca59de33751449ee89660150 Mon Sep 17 00:00:00 2001 From: bjt-user Date: Mon, 8 Jul 2024 20:39:44 +0200 Subject: [PATCH] changed ctags command --- git-hooks/pre-commit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit index ab61f1e..e505bac 100755 --- a/git-hooks/pre-commit +++ b/git-hooks/pre-commit @@ -14,16 +14,16 @@ else fi if ! (( ${ctags_installed} )); then - printf "ctags is not installed! Git hooks are enabled and can only be executed if shfmt is installed.\n" - printf "Commit was aborted.\n" - exit 1 + printf "Ctags is not installed! Git hooks are enabled and can only be executed if it is installed.\n" + printf "Commit was aborted.\n" + exit 1 fi if ! ctags -R src/.; then - printf "\nCtags failed.\n\n" + printf "Ctags failed.\n\n" exit 1 else - printf "\nCtags was successfully executed.\n" + printf "Ctags was successfully executed.\n" fi exit 0