diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-16 18:29:45 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-16 18:30:56 -0400 |
commit | dee2940c0bc97080088c99f399cd0ff0df3bec23 (patch) | |
tree | 0710cd8f4a3d64d1dc22e52911f04954f8d22fa2 /ikiwiki.in | |
parent | 0bd6c327666e2ac747183faca483c46ee2774285 (diff) | |
download | ikiwiki-dee2940c0bc97080088c99f399cd0ff0df3bec23.tar ikiwiki-dee2940c0bc97080088c99f399cd0ff0df3bec23.tar.gz |
automatically run --gettime, and optimise it for git
* Automatically run --gettime the first time ikiwiki is run on
a given srcdir.
* Optimise --gettime for git, so it's appropriatly screamingly
fast. (This could be done for other backends too.)
* However, --gettime for git no longer follows renames.
* Use above to fix up timestamps on docwiki, as well as ensure that
timestamps on basewiki files shipped in the deb are sane.
Diffstat (limited to 'ikiwiki.in')
-rwxr-xr-x | ikiwiki.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki.in b/ikiwiki.in index 801ff9a0b..acd37f802 100755 --- a/ikiwiki.in +++ b/ikiwiki.in @@ -45,7 +45,7 @@ sub getconfig () { "usedirs!" => \$config{usedirs}, "prefix-directives!" => \$config{prefix_directives}, "getctime" => \$config{gettime}, - "gettime" => \$config{gettime}, + "gettime!" => \$config{gettime}, "numbacklinks=i" => \$config{numbacklinks}, "rcs=s" => \$config{rcs}, "no-rcs" => sub { $config{rcs}="" }, |