aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/pagemtime_in_refresh_mode.mdwn
blob: 97146f80532226010ce4b552d29f5e061f71e59c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
I'd like a way to always ask the RCS (Git) to update a file's mtime in
refresh mode.  This is currently only done on the first build, and later
for `--gettime --rebuild`.  But always rebuilding is too heavy-weight for
this use-case.  My options are to either manually set the mtime before
refreshing, or to have ikiwiki do it at command.  I used to do the
former, but would now like the latter, as ikiwiki now generally does this
timestamp handling.

From a quick look, the code in `IkiWiki/Render.pm:find_new_files` is
relevant: `if (! $pagemtime{$page}) { [...]`.

How would you like to tackle this?

--[[tschwinge]]