diff --git a/scripts/githooks/commit-msg b/scripts/githooks/commit-msg index eede298..66b40d0 100644 --- a/scripts/githooks/commit-msg +++ b/scripts/githooks/commit-msg @@ -17,12 +17,12 @@ # # Store this file as .git/hooks/commit-msg in your repository in order to # enforce checking for proper commit message format before actual commits. -# You may need to make the script executable by 'chmod +x .git/hooks/commit-msg'. +# You may need to make the scripts executable by 'chmod +x .git/hooks/commit-msg'. # commit-msg use go-gitlint tool, install go-gitlint via `go get github.com/llorllale/go-gitlint/cmd/go-gitlint` # go-gitlint --msg-file="$1" -# An example hook script to check the commit log message. +# An example hook scripts to check the commit log message. # Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the diff --git a/scripts/githooks/pre-push b/scripts/githooks/pre-push index ef1b5b1..c8ad61a 100644 --- a/scripts/githooks/pre-push +++ b/scripts/githooks/pre-push @@ -36,7 +36,7 @@ printError() { printMessage "Running local OpenIM pre-push hook." if [[ `git status --porcelain` ]]; then - printError "This script needs to run against committed code only. Please commit or stash you changes." + printError "This scripts needs to run against committed code only. Please commit or stash you changes." exit 1 fi