diff --git a/Makefile b/Makefile
index 46168719d..210ea1dc1 100755
--- a/Makefile
+++ b/Makefile
@@ -194,6 +194,8 @@ review-install:
 	@mkdir -p $(GIT_HOOK_DIR)/
 	@curl -Lo $(GIT_HOOK_DIR)/commit-msg https://review.frostfs.info/tools/hooks/commit-msg
 	@chmod +x $(GIT_HOOK_DIR)/commit-msg
+	@echo -e '#!/bin/sh\n"$$(git rev-parse --git-path hooks)"/commit-msg "$$1"' >$(GIT_HOOK_DIR)/prepare-commit-msg
+	@chmod +x $(GIT_HOOK_DIR)/prepare-commit-msg
 
 # Create a PR in Gerrit
 review: BRANCH ?= master