diff --git a/misc/review b/misc/review index 831099b68..293e1a3d9 100755 --- a/misc/review +++ b/misc/review @@ -1,3 +1,23 @@ #!/bin/sh +set -e + +TOPLEVEL_DIR=$(readlink -f $(dirname $(readlink -f $0))/..) +HOOK_FILE="$TOPLEVEL_DIR/.git/hooks/commit-msg" +if ! test -e "$HOOK_FILE"; then + cat - <