From 655ad0703c7d4d3fe582b911a55374da62911d73 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Mon, 7 Jul 2008 17:36:27 -0500 Subject: [PATCH] Better error message. --- server/update-trac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/update-trac b/server/update-trac index 3b97545..8c29d39 100644 --- a/server/update-trac +++ b/server/update-trac @@ -12,7 +12,11 @@ else fi | while read commit ; do git log -n 1 '--pretty=format:%s%n%b' "$commit" | grep -i '\(\(re\|refs\|qa\) #[0-9]\+\)\|\(no ticket\)' > /dev/null if [ $? -ne 0 ] ; then - echo "Commit $commit does not reference a ticket" + echo "----------------------------------------------------" >&2 + echo "" >&2 + echo "Commit $commit does not reference a ticket" >&2 + echo "" >&2 + echo "----------------------------------------------------" >&2 exit 1 fi done -- 2.39.5