mirror of
https://github.com/iwata/git-now.git
synced 2026-09-10 07:26:29 -04:00
This commit is contained in:
parent
799c7633d8
commit
69967f8ae1
12
update
Normal file
12
update
Normal 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
|
||||
Loading…
Reference in a new issue