From: Stephen Haberman Date: Thu, 19 Jun 2008 22:54:14 +0000 (-0500) Subject: Naive client-side ticket check. X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e685212564d563ff4e131a08b0639cccabbd403c;p=git-central.git Naive client-side ticket check. --- diff --git a/client/commit-msg b/client/commit-msg new file mode 100644 index 0000000..d5e6498 --- /dev/null +++ b/client/commit-msg @@ -0,0 +1,10 @@ +#!/bin/sh + +grep '\(re\|refs\|qa\) #[0-9]\+' $1 > /dev/null + +if [ $? -ne 0 ] +then + echo "Please reference a ticket" + exit 1 +fi +