File issue.
[ikiwiki.git] / doc / bugs / pagemtime_in_refresh_mode.mdwn
1 I'd like a way to always ask the RCS (Git) to update a file's mtime in
2 refresh mode.  This is currently only done on the first build, and later
3 for `--gettime --rebuild`.  But always rebuilding is too heavy-weight for
4 this use-case.  My options are to either manually set the mtime before
5 refreshing, or to have ikiwiki do it at command.  I used to do the
6 former, but would now like the latter, as ikiwiki now generally does this
7 timestamp handling.
8
9 From a quick look, the code in `IkiWiki/Render.pm:find_new_files` is
10 relevant: `if (! $pagemtime{$page}) { [...]`.
11
12 How would you like to tackle this?
13
14 --[[tschwinge]]