cook.sh: compare the series title line as well

Junio C Hamano committed Sep 7, 2009 at 17:52 UTC 0051b441b38ee2312499f46d78c6c9b29ee09234
1 file changed +2 -2
cook.sh
+2 -2
@@ -112,8 +112,8 @@ add_desc () {
112 show_topic () {
113 old=$1 new=$2
114
115 - sed -n -e '/^ ..*/p' "$old" >"$tmp.old.nc"
116 - sed -n -e '/^ ..*/p' "$new" >"$tmp.new.nc"
115 + sed -n -e '/^ ..*/p' -e '/^\* /p' "$old" >"$tmp.old.nc"
116 + sed -n -e '/^ ..*/p' -e '/^\* /p' "$new" >"$tmp.new.nc"
117 if cmp "$tmp.old.nc" "$tmp.new.nc" >/dev/null
118 then
119 cat "$old"