summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-06-19 11:37:35 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-06-19 12:10:40 +0200
commit90c69318b90f7d00013b4d4cbb3fbc1c469d2cec (patch)
treee99ceaf9567b2dc7b8b9a6ea799db1217e2c7398
parent77247849e3df464fd68e6699a9ccfa0409162212 (diff)
downloadautomake-90c69318b90f7d00013b4d4cbb3fbc1c469d2cec.tar.gz
rename-tests: inform the user about the pre-filled commit msg
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-xmaintainer/rename-tests7
1 files changed, 6 insertions, 1 deletions
diff --git a/maintainer/rename-tests b/maintainer/rename-tests
index aa14de58b..bdbd791c8 100755
--- a/maintainer/rename-tests
+++ b/maintainer/rename-tests
@@ -19,6 +19,7 @@
set -e -u
me=${0##*/}
+msg_file=$me.git-msg
fatal () { echo "$me: $*" >&2; exit 1; }
case $# in
@@ -47,7 +48,7 @@ input=$(
" <<<"$input")
# Prepare git commit message.
-exec 5>$me.git-msg
+exec 5>"$msg_file"
echo "tests: more significant names for some tests" >&5
echo >&5
$AWK >&5 <<<"$input" \
@@ -66,3 +67,7 @@ if test -f t/list-of-tests.mk; then
fi
git status
+echo
+echo "NOTICE: pre-filled commit message is in file '$msg_file'"
+
+exit 0