]> git.droids-corp.org - git-central.git/commitdiff
Better error message.
authorStephen Haberman <shaberman@payflex.com>
Mon, 7 Jul 2008 22:36:27 +0000 (17:36 -0500)
committerStephen Haberman <shaberman@payflex.com>
Mon, 7 Jul 2008 22:36:27 +0000 (17:36 -0500)
server/update-trac

index 3b97545822aa1c5c45b37ea408e3adbdcb4d6a4a..8c29d39416096be66b692d8bef3701df5d0feacc 100644 (file)
@@ -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