From: Junio C Hamano Date: Tue, 8 Sep 2009 00:52:46 +0000 (-0700) Subject: cook.sh: compare the series title line as well X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0051b441b38ee2312499f46d78c6c9b29ee09234;p=thirdparty%2Fgit.git cook.sh: compare the series title line as well --- diff --git a/cook.sh b/cook.sh index ff7c134068..328b515fdc 100755 --- a/cook.sh +++ b/cook.sh @@ -112,8 +112,8 @@ add_desc () { show_topic () { old=$1 new=$2 - sed -n -e '/^ ..*/p' "$old" >"$tmp.old.nc" - sed -n -e '/^ ..*/p' "$new" >"$tmp.new.nc" + sed -n -e '/^ ..*/p' -e '/^\* /p' "$old" >"$tmp.old.nc" + sed -n -e '/^ ..*/p' -e '/^\* /p' "$new" >"$tmp.new.nc" if cmp "$tmp.old.nc" "$tmp.new.nc" >/dev/null then cat "$old"