Ignore datestamp-only changes when installing webdoc.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-09-09 01:17:54 -07:00
parent e8623d45b4
commit 922fb98e1c

View File

@ -4,7 +4,7 @@ T="$1"
for h in *.html howto/*.txt howto/*.html
do
diff -u "$T/$h" "$h" || {
diff -u -I'Last updated [0-9][0-9]-[A-Z][a-z][a-z]-' "$T/$h" "$h" || {
echo >&2 "# install $h $T/$h"
rm -f "$T/$h"
mkdir -p `dirname "$T/$h"`