From a10f6147f386c007031de21e856817cdd835ecf5 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 2 Apr 2004 22:12:39 +0200 Subject: trying pre-delta trigger --- BitKeeper/triggers/pre-delta | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 BitKeeper/triggers/pre-delta (limited to 'BitKeeper/triggers') diff --git a/BitKeeper/triggers/pre-delta b/BitKeeper/triggers/pre-delta new file mode 100755 index 00000000000..68c0ec30107 --- /dev/null +++ b/BitKeeper/triggers/pre-delta @@ -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 + -- cgit v1.2.1