From: Simon McVittie Date: Tue, 9 Jun 2015 21:22:54 +0000 (+0100) Subject: Populate pagectime from mtime or inode change time, whichever is older X-Git-Tag: 3.20150610~14 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/2fe003dac47259aabfc7603ce60ead5a4030c80c?hp=2fe003dac47259aabfc7603ce60ead5a4030c80c Populate pagectime from mtime or inode change time, whichever is older When building ikiwiki from a tarball, the mtime (conceptually, the last modification date of the file) is preserved by tar, but the inode change time (creation/metadata-change date of *this copy* of the file) is not. This seems to lead to unstable sort ordering and unreproducible builds. The page can't possibly have been modified before it was created, so we can assume that the modification date is an upper bound for the creation date. ---