summaryrefslogtreecommitdiff
path: root/Documentation/install-webdoc.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-01 16:25:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-09-01 16:25:17 (GMT)
commit7e42332e476a6f47ccc5a62cc8b93bcb4d758f7c (patch)
treeae46e51ca6944507390cbf5a8d57b20ea331320d /Documentation/install-webdoc.sh
parente3efa9c12c1797f5eeb140ebeb44ff6d210ec215 (diff)
downloadgit-7e42332e476a6f47ccc5a62cc8b93bcb4d758f7c.zip
git-7e42332e476a6f47ccc5a62cc8b93bcb4d758f7c.tar.gz
git-7e42332e476a6f47ccc5a62cc8b93bcb4d758f7c.tar.bz2
install-webdoc: filter timestamp-only changes correctly
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>
Diffstat (limited to 'Documentation/install-webdoc.sh')
-rwxr-xr-xDocumentation/install-webdoc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/install-webdoc.sh b/Documentation/install-webdoc.sh
index 34d02a2..37e67d1 100755
--- a/Documentation/install-webdoc.sh
+++ b/Documentation/install-webdoc.sh
@@ -12,7 +12,7 @@ do
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