From 2c993177db0cec8cca8e4afef0e813d5b6f1e320 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Wed, 27 Jan 1999 14:50:02 +0000 Subject: [PATCH] add *** to warning messages --- commit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commit b/commit index 340a30add..591aa1039 100755 --- 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 -- 2.47.3