]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
File issue.
authortschwinge <tschwinge@web>
Tue, 8 Jun 2010 09:23:05 +0000 (09:23 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Tue, 8 Jun 2010 09:23:05 +0000 (09:23 +0000)
doc/bugs/pagemtime_in_refresh_mode.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/pagemtime_in_refresh_mode.mdwn b/doc/bugs/pagemtime_in_refresh_mode.mdwn
new file mode 100644 (file)
index 0000000..97146f8
--- /dev/null
@@ -0,0 +1,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]]