]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
add *** to warning messages
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 27 Jan 1999 14:50:02 +0000 (14:50 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 27 Jan 1999 14:50:02 +0000 (14:50 +0000)
commit

diff --git a/commit b/commit
index 340a30add446dc4f4e5ca43811e6435c3c53c847..591aa1039d3739d6008e3c10555361ad36bb4cb5 100755 (executable)
--- a/commit
+++ b/commit
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# commit version 0.9.1
+# commit version 0.9.2
 
 # Copyright (C) 1999, Free Software Foundation
 
@@ -187,10 +187,10 @@ if test ! -f "$log_file"; then
       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";;
@@ -208,8 +208,8 @@ if grep '[^         ]' < "$log_file" > /dev/null; then :; else
 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