#! /bin/sh
-# commit version 0.9.1
+# commit version 0.9.2
# Copyright (C) 1999, Free Software Foundation
case "$line" in
"--- ChangeLog"*) :;;
"-"*)
- echo "$name: the following line in ChangeLog diff is suspicious:" >&2
+ echo "$name: *** Warning: the following line in ChangeLog diff is suspicious:" >&2
echo "$line" | sed 's/^.//' >&2;;
"+ "*)
- echo "$name: lines should start with tabs, not spaces; ignoring line:" >&2
+ echo "$name: *** Warning: lines should start with tabs, not spaces; ignoring line:" >&2
echo "$line" | sed 's/^.//' >&2;;
"+") echo;;
"+ "*) echo "$line";;
fi
if grep '^$' < "$log_file" > /dev/null; then
- echo "$name: blank lines should not appear within a commit messages" >&2
- echo "$name: they should be used to separate distinct commits" >&2
+ echo "$name: *** Warning: blank lines should not appear within a commit messages." >&2
+ echo "$name: *** They should be used to separate distinct commits." >&2
fi
${PAGER-more} "$log_file" || break