aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki.in
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-16 18:29:45 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-16 18:30:56 -0400
commitdee2940c0bc97080088c99f399cd0ff0df3bec23 (patch)
tree0710cd8f4a3d64d1dc22e52911f04954f8d22fa2 /ikiwiki.in
parent0bd6c327666e2ac747183faca483c46ee2774285 (diff)
downloadikiwiki-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-xikiwiki.in2
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}="" },