From: Stephen Haberman Date: Mon, 7 Jul 2008 22:36:27 +0000 (-0500) Subject: Better error message. X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=655ad0703c7d4d3fe582b911a55374da62911d73;p=git-central.git Better error message. --- 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