cmake/Utilities/Git/commit-msg

15 lines
352 B
Plaintext
Raw Normal View History

2012-02-18 12:40:36 +02:00
#!/usr/bin/env bash
2016-10-30 18:24:19 +01:00
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
2012-02-18 12:40:36 +02:00
die() {
echo 'commit-msg hook failure' 1>&2
echo '-----------------------' 1>&2
echo '' 1>&2
echo "$@" 1>&2
exit 1
}
# This is a placeholder for future commit-msg checks.
exit 0