This commit is contained in:
Toshiyuki Kawanishi 2010-11-18 17:10:56 -08:00
parent 799c7633d8
commit 69967f8ae1

12
update Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
PREFIX="from now"
if [ ! "`git log --pretty=oneline $3 | head -n 1 | grep "${PREFIX}"`" ]
then
exit 0
else
echo "error: There are tmp log messages in the received objects." 1>&2
echo "error: Change these messages by 'git now --rebase'." 1>&2
exit 1
fi