summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3efa9c)
raw | patch | inline | side by side (parent: e3efa9c)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Sep 2010 16:25:17 +0000 (09:25 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Sep 2010 16:25:17 +0000 (09:25 -0700) |
The timestamp that follows "Last updated " is formatted differently
depending on the version of AsciiDoc. Looking at 4604fe56 on "html"
branch, you can see that AsciiDoc 7.0.2 used to give "02-Jul-2008 03:02:14
UTC" but AsciiDoc 8.2.5 gave "2008-09-19 06:33:25 UTC". We haven't been
correctly filtering out phantom changes that result from only the build
date for some time now, it seems.
Just filter lines that begin with "Last updated ".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
depending on the version of AsciiDoc. Looking at 4604fe56 on "html"
branch, you can see that AsciiDoc 7.0.2 used to give "02-Jul-2008 03:02:14
UTC" but AsciiDoc 8.2.5 gave "2008-09-19 06:33:25 UTC". We haven't been
correctly filtering out phantom changes that result from only the build
date for some time now, it seems.
Just filter lines that begin with "Last updated ".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/install-webdoc.sh | patch | blob | history |
index 34d02a24188921ebac1b70f7cf0c6517a45e8fb1..37e67d1a14aa6f8ef5c8914054c03cc6f5cc762b 100755 (executable)
then
: did not match
elif test -f "$T/$h" &&
- $DIFF -u -I'Last updated [0-9][0-9]-[A-Z][a-z][a-z]-' "$T/$h" "$h"
+ $DIFF -u -I'^Last updated ' "$T/$h" "$h"
then
:; # up to date
else