trying pre-delta trigger
This commit is contained in:
parent
a66fe8dcd5
commit
8c46550113
12
BitKeeper/triggers/pre-delta
Executable file
12
BitKeeper/triggers/pre-delta
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ `tail -c1 $BK_FILE` != "
|
||||
" ]
|
||||
then
|
||||
echo "File $BK_FILE does not end with a new-line character!"
|
||||
echo ""
|
||||
echo "Checkin FAILED!"
|
||||
echo "Fix the problem and retry."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user